diff options
| author | Alejandro Soto <alejandro@34project.org> | 2023-01-09 17:49:36 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2023-01-09 17:49:36 -0600 |
| commit | c3b32d03ff5860ecca99a993af31186d8c36011f (patch) | |
| tree | 0ebf9e2db009742702dc8f074d195aea3b882e88 /sys/users.nix | |
| parent | de4035c51faccf30c07e9d076738cd595971dc54 (diff) | |
env/users: add option for disabling user login
Diffstat (limited to 'sys/users.nix')
| -rw-r--r-- | sys/users.nix | 2 |
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; |
