diff options
author | Soispha <soispha@vhack.eu> | 2023-07-04 21:35:37 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-07-04 21:35:37 +0200 |
commit | 869d74c284b3d9ef36e1f949e480b54f2ef8348a (patch) | |
tree | 46b60621adde535505eaf86f78623e51316ca259 /system/file_system_layouts/impermanence.nix | |
parent | Fix(system/services/nix-sync): Add the cachePath rw (diff) | |
download | nixos-server-869d74c284b3d9ef36e1f949e480b54f2ef8348a.tar.gz nixos-server-869d74c284b3d9ef36e1f949e480b54f2ef8348a.zip |
Fix(system/services/nginx): Create nix-sync cache through impermanence
Diffstat (limited to '')
-rw-r--r-- | system/file_system_layouts/impermanence.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/system/file_system_layouts/impermanence.nix b/system/file_system_layouts/impermanence.nix index da38791..7e8a659 100644 --- a/system/file_system_layouts/impermanence.nix +++ b/system/file_system_layouts/impermanence.nix @@ -7,6 +7,12 @@ "/var/log" "/var/lib/postgresql" "/var/lib/acme" + { + directory = "/var/lib/nix-sync"; + user = "nix-sync"; + group = "nix-sync"; + mode = "0700"; + } ]; files = [ "/etc/machine-id" |