summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2024-06-21 22:53:45 +0200
committerAlan Pearce2024-06-21 22:54:30 +0200
commitc7cfce9679d96bd9e378e741a0ac590d6a059a82 (patch)
treeaceb6e7170e282f52fe8a25f6d153e125a043c75
parenteaca59631b9a14b1f2ac3a61e5778c57a4a7ea48 (diff)
downloadnixfiles-c7cfce9679d96bd9e378e741a0ac590d6a059a82.tar.lz
nixfiles-c7cfce9679d96bd9e378e741a0ac590d6a059a82.tar.zst
nixfiles-c7cfce9679d96bd9e378e741a0ac590d6a059a82.zip
linde: allow normal user to write laminar config
-rw-r--r--system/linde.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/system/linde.nix b/system/linde.nix
index 0137b3b5..8b1dedb5 100644
--- a/system/linde.nix
+++ b/system/linde.nix
@@ -310,7 +310,7 @@ in
   users.users.root.shell = "${pkgs.fish}/bin/fish";
   users.users.alan = {
     shell = "${pkgs.fish}/bin/fish";
-    extraGroups = [ "wheel" "caddy" "docker" ];
+    extraGroups = [ "wheel" "caddy" "docker" "laminar" ];
     isNormalUser = true;
     home = "/home/alan";
     createHome = true;
@@ -984,4 +984,7 @@ in
       keepRundirs = 1;
     };
   };
+  users.users.laminar = {
+    homeMode = "770";
+  };
 }