users.defaultUserShell
NixOS option
This option defines the default shell assigned to user accounts. This can be either a full system path or a shell package. This must not be a store path, since the path is used outside the store (in particular in /etc/passwd).
type: absolute path or packageDefault
"/bin/sh"
Example
declared in: nixos/modules/programs/shadow.nixView source on NixOS/nixpkgs →pkgs.zsh