nixos/profiles/desktop: make Nix more of a background process

This commit is contained in:
Gabriel Arazas 2024-01-26 16:49:02 +08:00
parent 26822d655d
commit 677b57cad7
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC
2 changed files with 4 additions and 3 deletions

View File

@ -62,8 +62,5 @@
experimental-features = [ "auto-allocate-uids" ];
};
# My poor achy-breaky desktop can't take it.
nix.daemonCPUSchedPolicy = "idle";
system.stateVersion = "24.05"; # Yes! I read the comment!
}

View File

@ -13,4 +13,8 @@
hardware.steam-hardware.enable = lib.mkDefault true;
hardware.xone.enable = lib.mkDefault true;
hardware.xpadneo.enable = lib.mkDefault true;
# This is useful for not interrupting your desktop activity. Also most of my
# poor achy-breaky desktops can't take it.
nix.daemonCPUSchedPolicy = "idle";
}