mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-14 11:57:34 +00:00
users: warn users to use pkgs.bashInteractive
instead of pkgs.bash
This commit is contained in:
parent
5eb88645f7
commit
8b27551e09
1 changed files with 6 additions and 0 deletions
|
@ -129,6 +129,12 @@ in
|
|||
]
|
||||
));
|
||||
|
||||
warnings = flatten (flip mapAttrsToList cfg.users (name: user:
|
||||
mkIf
|
||||
(user.shell.pname or null == "bash")
|
||||
"Set `users.users.${name}.shell = pkgs.bashInteractive;` instead of `pkgs.bash` as it does not include `readline`."
|
||||
));
|
||||
|
||||
users.gids = mkMerge gids;
|
||||
users.uids = mkMerge uids;
|
||||
|
||||
|
|
Loading…
Reference in a new issue