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 | |
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 | ||||
-rw-r--r-- | system/services/nginx/hosts.nix | bin | 1027 -> 994 bytes |
2 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" diff --git a/system/services/nginx/hosts.nix b/system/services/nginx/hosts.nix index 94fae9f..7c42280 100644 --- a/system/services/nginx/hosts.nix +++ b/system/services/nginx/hosts.nix Binary files differ |