environment.shells

A list of permissible login shells for user accounts. No need to mention /bin/sh here, it is placed into this list implicitly.

Type
list of (package or absolute path)
Default
[ ]
Example
[ pkgs.bashInteractive pkgs.zsh ]
Declared
<nixpkgs/nixos/modules/config/shells-environment.nix>