summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-07-08 14:14:27 +0200
committerSoispha <soispha@vhack.eu>2023-07-08 14:14:27 +0200
commit8c1dd937c0db9957db8d7735eb63f2daa4449c03 (patch)
tree870c9f0ef83b9b318640bd751810387f2436ec38
parentDocs(notes): Add section about redeployment (diff)
downloadnixos-server-8c1dd937c0db9957db8d7735eb63f2daa4449c03.tar.gz
nixos-server-8c1dd937c0db9957db8d7735eb63f2daa4449c03.zip
Fix(system/impermanence/m/users): Make /home readable
-rw-r--r--system/impermanence/mods/users.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/system/impermanence/mods/users.nix b/system/impermanence/mods/users.nix
index 3b121e0..0692b00 100644
--- a/system/impermanence/mods/users.nix
+++ b/system/impermanence/mods/users.nix
@@ -1,6 +1,12 @@
 {...}: {
   environment.persistence."/srv".directories = [
     {
+      directory = "/home";
+      user = "root";
+      group = "root";
+      mode = "0755";
+    }
+    {
       directory = "/home/sils";
       user = "sils";
       group = "sils";