From dd84945ae158eaa458fc8ce5558bb007ade012ce Mon Sep 17 00:00:00 2001 From: Soispha Date: Tue, 4 Jul 2023 18:36:42 +0200 Subject: Fix(system/services/nix-sync): Add the cachePath rw --- system/services/nix-sync/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/services/nix-sync/default.nix b/system/services/nix-sync/default.nix index ed2c6ac..ea6d3cd 100644 --- a/system/services/nix-sync/default.nix +++ b/system/services/nix-sync/default.nix @@ -81,7 +81,7 @@ # Security NoNewPrivileges = true; # Sandboxing (sorted by occurrence in https://www.freedesktop.org/software/systemd/man/systemd.exec.html) - ReadWritePaths = ["/etc/nginx/websites" "-${esa repoCachePath}"]; + ReadWritePaths = ["/etc/nginx/websites" "-${esa repoCachePath}" "-${esa cfg.cachePath}"]; ReadOnlyPaths = ["/nix"]; ProtectSystem = "strict"; ProtectHome = true; -- cgit 1.4.1