nixos/greetd: add option to make greetd not stop Plymouth early

K900 6dd3061c 4e9d164e

Changed files
+13 -1
nixos
modules
services
display-managers
+13 -1
nixos/modules/services/display-managers/greetd.nix
···
'';
};
+
greeterManagesPlymouth = mkOption {
+
type = types.bool;
+
internal = true;
+
default = false;
+
description = ''
+
Don't configure the greetd service to wait for Plymouth to exit.
+
+
Enable this if the greeter you're using can manage Plymouth itself to provide a smoother handoff.
+
'';
+
};
+
vt = mkOption {
type = types.int;
default = 1;
···
];
After = [
"systemd-user-sessions.service"
+
"getty@${tty}.service"
+
] ++ lib.optionals (!cfg.greeterManagesPlymouth) [
"plymouth-quit-wait.service"
-
"getty@${tty}.service"
];
Conflicts = [
"getty@${tty}.service"