[thinkman] decrease nix nice level

This commit is contained in:
Felix Buehler 2021-08-30 20:24:36 +02:00
parent e959b30393
commit b5ffc32cfc

View file

@ -49,11 +49,15 @@
boot.kernelPackages = pkgs.linuxPackages_latest; boot.kernelPackages = pkgs.linuxPackages_latest;
# Nix # Nix
nix.autoOptimiseStore = true; nix = {
nix.gc = { autoOptimiseStore = true;
automatic = true; gc = {
dates = "weekly"; automatic = true;
options = "--delete-older-than 30d"; dates = "weekly";
options = "--delete-older-than 30d";
};
daemonNiceLevel = 19;
daemonIONiceLevel = 7;
}; };
system.stateVersion = "21.05"; system.stateVersion = "21.05";