summaryrefslogtreecommitdiff
path: root/sys/users.nix
diff options
context:
space:
mode:
Diffstat (limited to 'sys/users.nix')
-rw-r--r--sys/users.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/users.nix b/sys/users.nix
index e5ebc8d..095c6d3 100644
--- a/sys/users.nix
+++ b/sys/users.nix
@@ -31,7 +31,7 @@ in
isNormalUser = true;
group = username;
extraGroups = [ "users" ] ++ user.groups;
- shell = pkgs.zsh;
+ shell = if user.allowLogin then pkgs.zsh else null;
})
cfg.users;