mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-05 16:27:03 +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.gids = mkMerge gids;
|
||||||
users.uids = mkMerge uids;
|
users.uids = mkMerge uids;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue