nixos/common/base.nix

42 lines
739 B
Nix
Raw Normal View History

2023-07-16 16:43:13 +03:00
{ config, pkgs, ... }:
{
nix = {
package = pkgs.nixUnstable;
extraOptions = ''
experimental-features = nix-command flakes
'';
2023-07-16 19:02:49 +03:00
settings = {
auto-optimise-store = true;
trusted-users = [ "root" "@wheel" ];
};
gc = {
automatic = true;
options = "--delete-older-than 7d";
};
2023-07-28 15:39:50 +03:00
daemonCPUSchedPolicy = "idle";
daemonIOSchedClass = "idle";
2023-07-16 16:43:13 +03:00
};
2023-07-16 19:00:44 +03:00
documentation = {
doc.enable = false;
info.enable = false;
man.enable = true;
nixos.enable = false;
};
2023-07-16 16:43:13 +03:00
environment.systemPackages = with pkgs; [
wget
curl
2023-07-16 19:00:44 +03:00
usbutils
pciutils
coreutils-full
2023-07-17 07:54:37 +03:00
killall
git
2023-07-28 15:39:50 +03:00
git-crypt
neovim
2023-07-29 11:11:45 +03:00
python3Minimal
2023-07-16 16:43:13 +03:00
];
boot.tmp.cleanOnBoot = true;
2023-07-16 16:43:13 +03:00
}