nixos/shadow: use /bin/sh as default userDefaultShell
The default was previously set by the bash module. It's not set directly here (to the compiled in value) of the shadow package to allow disabling the bash module. Note that this doesn't mean that the effective default shell of a normal NixOS installation has changed. It is still bash.
This commit is contained in:
@@ -158,6 +158,8 @@ in
|
||||
This must not be a store path, since the path is
|
||||
used outside the store (in particular in /etc/passwd).
|
||||
'';
|
||||
# /bin/sh is also the compiled in default of the shadow package.
|
||||
default = "/bin/sh";
|
||||
example = lib.literalExpression "pkgs.zsh";
|
||||
type = lib.types.either lib.types.path lib.types.shellPackage;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user