summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2023-08-16 20:50:34 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2023-08-16 20:50:34 +0200
commit28b8dd7856ade55239be53252085ddec2c89562a (patch)
treefc8f9f3db1f657d729b7f9b34b21476f4e4eeeac
parente36b0e057a48669b0936613d474aa1eef98ca265 (diff)
downloadnixos-28b8dd7856ade55239be53252085ddec2c89562a.tar
nixos-28b8dd7856ade55239be53252085ddec2c89562a.tar.gz
nixos-28b8dd7856ade55239be53252085ddec2c89562a.tar.bz2
nixos-28b8dd7856ade55239be53252085ddec2c89562a.tar.xz
nixos-28b8dd7856ade55239be53252085ddec2c89562a.zip
...
-rw-r--r--hosts/vidhar/default.nix9
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 = {