From 28b8dd7856ade55239be53252085ddec2c89562a Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 16 Aug 2023 20:50:34 +0200 Subject: ... --- hosts/vidhar/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'hosts') 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; options = "--delete-older-than 30d"; }; }; - systemd.services."nix-daemon".serviceConfig = { - CPUQuota = "2200%"; + systemd.services."nix-daemon" = { + environment = { + TMPDIR = "/nix/tmp"; + }; + serviceConfig = { + CPUQuota = "2200%"; + }; }; powerManagement = { -- cgit v1.2.3