ctucx.git: nixfiles

ctucx' nixfiles

commit b96fc05aca3a71f3076c2e88986282bd74097179
parent b32f072bf0e0dac327723f273311086eef0fcb92
Author: Leah (ctucx) <leah@ctu.cx>
Date: Tue, 13 Sep 2022 18:56:16 +0200

`ReadWritePaths` should be a list
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/machines/lollo/websites/storage.home.ctu.cx/default.nix b/machines/lollo/websites/storage.home.ctu.cx/default.nix
@@ -33,7 +33,7 @@
   };
 
   systemd.services.nginx.serviceConfig = {
-    ReadWritePaths = "/data";
+    ReadWritePaths = [ "/data" ];
   };
 }
 
diff --git a/machines/osterei/oeffi-web.nix b/machines/osterei/oeffi-web.nix
@@ -48,7 +48,7 @@ in {
       Group                   = "oeffisearch";
 
       WorkingDirectory        = "${oeffi-web}/share/oeffi-web";
-      ReadWritePaths          = "/var/lib/oeffisearch";
+      ReadWritePaths          = [ "/var/lib/oeffisearch" ];
 
       PrivateTmp              = true;
       ProtectHome             = true;
diff --git a/machines/osterei/oeffisearch.nix b/machines/osterei/oeffisearch.nix
@@ -54,7 +54,7 @@ in {
       Group                   = "oeffisearch";
 
       WorkingDirectory        = "/var/lib/oeffisearch";
-      ReadWritePaths          = "/var/lib/oeffisearch";
+      ReadWritePaths          = [ "/var/lib/oeffisearch" ];
 
       PrivateTmp              = true;
       ProtectHome             = true;