diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2023-08-16 20:50:34 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2023-08-16 20:50:34 +0200 |
commit | 28b8dd7856ade55239be53252085ddec2c89562a (patch) | |
tree | fc8f9f3db1f657d729b7f9b34b21476f4e4eeeac /hosts | |
parent | e36b0e057a48669b0936613d474aa1eef98ca265 (diff) | |
download | nixos-28b8dd7856ade55239be53252085ddec2c89562a.tar nixos-28b8dd7856ade55239be53252085ddec2c89562a.tar.gz nixos-28b8dd7856ade55239be53252085ddec2c89562a.tar.bz2 nixos-28b8dd7856ade55239be53252085ddec2c89562a.tar.xz nixos-28b8dd7856ade55239be53252085ddec2c89562a.zip |
...
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/vidhar/default.nix | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/hosts/vidhar/default.nix b/hosts/vidhar/default.nix index 073cb370..edca73ea 100644 --- a/hosts/vidhar/default.nix +++ b/hosts/vidhar/default.nix | |||
@@ -104,8 +104,13 @@ with lib; | |||
104 | options = "--delete-older-than 30d"; | 104 | options = "--delete-older-than 30d"; |
105 | }; | 105 | }; |
106 | }; | 106 | }; |
107 | systemd.services."nix-daemon".serviceConfig = { | 107 | systemd.services."nix-daemon" = { |
108 | CPUQuota = "2200%"; | 108 | environment = { |
109 | TMPDIR = "/nix/tmp"; | ||
110 | }; | ||
111 | serviceConfig = { | ||
112 | CPUQuota = "2200%"; | ||
113 | }; | ||
109 | }; | 114 | }; |
110 | 115 | ||
111 | powerManagement = { | 116 | powerManagement = { |