1
0
Fork 0
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:
Michael Hoang 2024-11-11 00:08:42 +11:00
parent 5eb88645f7
commit 8b27551e09

View file

@ -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;