summaryrefslogtreecommitdiff
path: root/modules/system/shells.nix
diff options
context:
space:
mode:
authorMichael Hoang <enzime@users.noreply.github.com>2024-10-25 01:16:19 +1100
committerMichael Hoang <enzime@users.noreply.github.com>2024-10-27 21:52:41 +1100
commitdc6f754fe5d3b0d1ee6b033495c87ec3199a7f68 (patch)
tree02108e6de8592ac232f8baff757c8c0255fb0337 /modules/system/shells.nix
parent3712ff78ccacd65c819435a310fe8b1a8a2de2ee (diff)
users: allow `shell` to be managed by macOS
Diffstat (limited to 'modules/system/shells.nix')
-rw-r--r--modules/system/shells.nix12
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);
};