MyNixOS website logo
option

users.users.<name>.shell

The user's shell. This defaults to null.

When this is set to null, if the user has not been created yet, they will be created with the shell /usr/bin/false to prevent interactive login. If the user already exists, the value is considered managed by macOS and nix-darwin will not change it.

Declarations
    Type
    null or package or absolute path
    Default
    null
    Example
    pkgs.bashInteractive