summary refs log tree commit diff stats
path: root/system/impermanence/mods
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-10-03 17:29:00 +0200
committerSoispha <soispha@vhack.eu>2023-10-03 18:08:45 +0200
commitc154fa39a7f68a17713eff260c45c4d23835feb1 (patch)
tree723ceae9d305fc0bb4056bf1d521355709654515 /system/impermanence/mods
parentfeat(system/services/murmur): Initialize (diff)
downloadnixos-server-c154fa39a7f68a17713eff260c45c4d23835feb1.tar.gz
nixos-server-c154fa39a7f68a17713eff260c45c4d23835feb1.zip
fix(system/services/murmur): Allow murmur's user to read certs
Diffstat (limited to 'system/impermanence/mods')
-rw-r--r--system/impermanence/mods/murmur.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/system/impermanence/mods/murmur.nix b/system/impermanence/mods/murmur.nix
new file mode 100644
index 0000000..48912e1
--- /dev/null
+++ b/system/impermanence/mods/murmur.nix
@@ -0,0 +1,10 @@
+{...}: {
+  environment.persistence."/srv".directories = [
+    {
+      directory = "/var/lib/murmur";
+      user = "murmur";
+      group = "murmur";
+      mode = "0700";
+    }
+  ];
+}