summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/users.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/users.nix b/sys/users.nix
index 095c6d3..b84d1c0 100644
--- a/sys/users.nix
+++ b/sys/users.nix
@@ -27,10 +27,14 @@ in
users.users = mapAttrs
(username: user: {
- inherit (user) uid;
isNormalUser = true;
+
+ inherit (user) uid;
+ description = user.gecos;
+
group = username;
extraGroups = [ "users" ] ++ user.groups;
+
shell = if user.allowLogin then pkgs.zsh else null;
})
cfg.users;