mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 16:16:50 +01:00
23 lines
435 B
Nix
23 lines
435 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
options.fireproof.desktop.greeter.enable =
|
|
lib.mkEnableOption "greeter"
|
|
// {
|
|
default = config.fireproof.desktop.enable;
|
|
};
|
|
|
|
config = lib.mkIf config.fireproof.desktop.greeter.enable {
|
|
services.greetd = {
|
|
enable = true;
|
|
settings = {
|
|
default_session = {
|
|
command = "${pkgs.tuigreet}/bin/tuigreet --user-menu";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|