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:
parent
ece97f0e92
commit
f61ddd5f92
|
@ -17,6 +17,10 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
nix.daemonIOSchedClass = "idle"; # best-effort
|
||||||
|
nix.daemonIOSchedPriority = 4; # 7
|
||||||
|
nix.daemonCPUSchedPolicy = "idle"; # batch
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
gnome.localsearch.enable = lib.mkForce false;
|
gnome.localsearch.enable = lib.mkForce false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue