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
|
|
|
|
2023-08-19 11:06:28 +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
|
2023-08-19 11:06:28 +03:00
|
|
|
git
|
2023-07-28 15:39:50 +03:00
|
|
|
git-crypt
|
2023-08-19 11:06:28 +03:00
|
|
|
neovim
|
2023-07-29 11:11:45 +03:00
|
|
|
python3Minimal
|
2023-07-16 16:43:13 +03:00
|
|
|
];
|
|
|
|
|
2023-08-19 11:06:28 +03:00
|
|
|
boot.tmp.cleanOnBoot = true;
|
2023-08-31 18:28:25 +03:00
|
|
|
}
|