MyNixOS website logo
option

users.users.<name>.shell

The path to the user's shell. Can use shell derivations, like pkgs.bashInteractive. Don’t forget to enable your shell in programs if necessary, like programs.zsh.enable = true;.

Declarations
Type
null or package or (path, not containing newlines or colons)
Default
pkgs.shadow
Example
pkgs.bashInteractive