nixos/greetd: fix minor typo for default user

It has been like this since the module was added, but it hasn't caused
problems because greetd assumes a default user of "greeter"[1] when it
isn't found anyway

[1]: d700309623/item/greetd/src/config/mod.rs (L127)
This commit is contained in:
Lily Foster 2022-07-13 18:11:16 -04:00
parent 62b1c34ac6
commit 6f5c1bcf7b

View file

@ -54,7 +54,7 @@ in
config = mkIf cfg.enable {
services.greetd.settings.terminal.vt = mkDefault cfg.vt;
services.greetd.settings.default_session = mkDefault "greeter";
services.greetd.settings.default_session.user = mkDefault "greeter";
security.pam.services.greetd = {
allowNullPassword = true;