diff options
author | K900 <me@0upti.me> | 2024-05-13 17:41:29 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-13 17:41:29 +0300 |
commit | 37c6c6315ba90302d50fedaaadd8961c8051c686 (patch) | |
tree | 1a96e9185005c9ed5ea12db094a2a29875f10343 /nixos/modules/services | |
parent | 7894f4a3a9012d5decc16039443be82a544428c7 (diff) | |
parent | 6dd3061cae058c84f9e6dc81e901c3464a21b286 (diff) |
Merge pull request #310786 from K900/greetd-plymouth
nixos/greetd: add option to make greetd not stop Plymouth early
Diffstat (limited to 'nixos/modules/services')
-rw-r--r-- | nixos/modules/services/display-managers/greetd.nix | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/nixos/modules/services/display-managers/greetd.nix b/nixos/modules/services/display-managers/greetd.nix index c07b225fc4d95..118a3e1df378c 100644 --- a/nixos/modules/services/display-managers/greetd.nix +++ b/nixos/modules/services/display-managers/greetd.nix @@ -27,6 +27,17 @@ in ''; }; + 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; @@ -72,8 +83,9 @@ in ]; After = [ "systemd-user-sessions.service" - "plymouth-quit-wait.service" "getty@${tty}.service" + ] ++ lib.optionals (!cfg.greeterManagesPlymouth) [ + "plymouth-quit-wait.service" ]; Conflicts = [ "getty@${tty}.service" |