feat(gui): configure Nix daemon scheduling for GUI

Set idle I/O and CPU scheduling policies for the Nix daemon to improve GUI responsiveness. Adjusted scheduling class, priority, and policy to optimize background tasks.
This commit is contained in:
Harald Hoyer 2025-02-14 10:07:49 +01:00
parent ece97f0e92
commit f61ddd5f92

View file

@ -17,6 +17,10 @@ in
};
config = mkIf cfg.enable {
nix.daemonIOSchedClass = "idle"; # best-effort
nix.daemonIOSchedPriority = 4; # 7
nix.daemonCPUSchedPolicy = "idle"; # batch
services = {
gnome.localsearch.enable = lib.mkForce false;