diff options
| author | Michael Hoang <enzime@users.noreply.github.com> | 2024-10-25 01:16:19 +1100 |
|---|---|---|
| committer | Michael Hoang <enzime@users.noreply.github.com> | 2024-10-27 21:52:41 +1100 |
| commit | dc6f754fe5d3b0d1ee6b033495c87ec3199a7f68 (patch) | |
| tree | 02108e6de8592ac232f8baff757c8c0255fb0337 /modules/system/shells.nix | |
| parent | 3712ff78ccacd65c819435a310fe8b1a8a2de2ee (diff) | |
users: allow `shell` to be managed by macOS
Diffstat (limited to 'modules/system/shells.nix')
| -rw-r--r-- | modules/system/shells.nix | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/modules/system/shells.nix b/modules/system/shells.nix index 0b599d9..025936d 100644 --- a/modules/system/shells.nix +++ b/modules/system/shells.nix @@ -14,9 +14,15 @@ in example = literalExpression "[ pkgs.bashInteractive pkgs.zsh ]"; description = '' A list of permissible login shells for user accounts. - No need to mention `/bin/sh` - and other shells that are available by default on - macOS. + + The default macOS shells will be automatically included: + - /bin/bash + - /bin/csh + - /bin/dash + - /bin/ksh + - /bin/sh + - /bin/tcsh + - /bin/zsh ''; apply = map (v: if types.shellPackage.check v then "/run/current-system/sw${v.shellPath}" else v); }; |
