users.defaultUserShell
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 package- Default
"/bin/sh"- Example
pkgs.zsh- Declared
- <nixpkgs/nixos/modules/programs/shadow.nix>