summary refs log tree commit diff stats
path: root/sys/users/default.nix
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-05-05 19:26:42 +0200
committersils <sils@sils.li>2023-05-05 19:26:42 +0200
commitce8d2897471f550cbde71276194349da44c57dc5 (patch)
tree50000bfbcf3910e552445641f19e4726d9593df2 /sys/users/default.nix
parentFeat(u/sils/zsh): Remove old zshrc (diff)
downloadnix-config-ce8d2897471f550cbde71276194349da44c57dc5.tar.gz
nix-config-ce8d2897471f550cbde71276194349da44c57dc5.zip
Feat(s/users): Specify uid and group for sils
               This fixes permission errors.
Diffstat (limited to 'sys/users/default.nix')
-rw-r--r--sys/users/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/users/default.nix b/sys/users/default.nix
index dc79dda..b4f7cfe 100644
--- a/sys/users/default.nix
+++ b/sys/users/default.nix
@@ -1,8 +1,13 @@
 {pkgs, ...}: {
   users = {
+    groups.sils = {
+      gid = 1111;
+    };
     mutableUsers = false;
     users.sils = {
       isNormalUser = true;
+      uid = 1000;
+      group = "sils";
       home = "/home/sils";
       shell = pkgs.zsh;
       initialHashedPassword = "$y$j9T$r4578Hy9jZHmUH9uSr9OI.$SuR2anRq7EJ1gUJ6vi9qYmZrhLP.o3O5643IG6r5Ap/";