summary refs log tree commit diff stats
path: root/system/impermanence/mods/minecraft.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--system/impermanence/mods/minecraft.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/system/impermanence/mods/minecraft.nix b/system/impermanence/mods/minecraft.nix
new file mode 100644
index 0000000..2a02626
--- /dev/null
+++ b/system/impermanence/mods/minecraft.nix
@@ -0,0 +1,10 @@
+{...}: {
+  environment.persistence."/srv".directories = [
+    {
+      directory = "/var/lib/minecraft";
+      user = "minecraft";
+      group = "minecraft";
+      mode = "0700";
+    }
+  ];
+}