diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/tv/git/cgit.nix | 2 | ||||
-rw-r--r-- | modules/tv/sanitize.nix | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/tv/git/cgit.nix b/modules/tv/git/cgit.nix index ac67ecd1a..a3b72bf8e 100644 --- a/modules/tv/git/cgit.nix +++ b/modules/tv/git/cgit.nix @@ -14,7 +14,7 @@ in name = "fcgiwrap"; uid = 2851179180; # genid fcgiwrap group = "fcgiwrap"; - home = "/var/empty"; + home = toString (pkgs.runCommand "empty" {} "mkdir -p $out"); }; users.extraGroups = lib.singleton { diff --git a/modules/tv/sanitize.nix b/modules/tv/sanitize.nix index b6c749b6d..adc8141da 100644 --- a/modules/tv/sanitize.nix +++ b/modules/tv/sanitize.nix @@ -3,6 +3,6 @@ { nixpkgs.config.packageOverrides = pkgs: { - nano = /var/empty; + nano = pkgs.runCommand "empty" {} "mkdir -p $out"; }; } |