3 nix.settings.experimental-features = [ "nix-command" "flakes" "repl-flake" ];
4 #nix.registry.self.flake = inputs.self;
6 "nixpkgs=${inputs.nixpkgs}"
9 systemd.services.nix-daemon.serviceConfig = {
10 CPUSchedulingPolicy = lib.mkForce "batch";
11 IOSchedulingClass = lib.mkForce "best-effort";
12 # 0: high priority, 7: low priority
13 IOSchedulingPriority = lib.mkForce 4;
17 systemd.services.nix-gc.serviceConfig = {
18 CPUSchedulingPolicy = "batch";
19 IOSchedulingClass = "best-effort";
20 IOSchedulingPriority = 7;
24 systemd.sleep.extraConfig = ''