mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
[thinkman] decrease nix nice level
This commit is contained in:
parent
e959b30393
commit
b5ffc32cfc
1 changed files with 9 additions and 5 deletions
14
thinkman.nix
14
thinkman.nix
|
@ -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";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue