Skip to content

Greetd

services.greetd.enable

Whether to enable greetd, a minimal and flexible login manager daemon. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/display-managers/greetd.nix

services.greetd.package

The greetd package to use. Type: package

Default

pkgs.greetd.greetd

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/display-managers/greetd.nix

services.greetd.restart

Whether to restart greetd when it terminates (e.g. on failure). This is usually desirable so a user can always log in, but should be disabled when using 'settings.initial_session' (autologin), because every greetd restart will trigger the autologin again.

Type: boolean

Default

!(config.services.greetd.settings ? initial_session)

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/display-managers/greetd.nix

services.greetd.settings

greetd configuration (documentation) as a Nix attribute set.

Type: TOML value

Example

{default_session = {command = "${pkgs.greetd.greetd}/bin/agreety --cmd sway";};}

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/display-managers/greetd.nix

services.greetd.vt

The virtual console (tty) that greetd should use. This option also disables getty on that tty.

Type: signed integer

Default

1

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/display-managers/greetd.nix