Boot into graphical.target so greetd starts

greetd is WantedBy=graphical.target, but an install without a desktop
defaults to multi-user.target and never activates it.
This commit is contained in:
nevaforget committed 2026-08-07 12:38:04 +02:00
1 parent 3b39f96edc
commit b24d91e518
1 file changed
+4
+4
View File
@@ -35,6 +35,10 @@ in
}; };
}; };
# greetd is WantedBy=graphical.target. An installation without a desktop
# boots into multi-user.target, where the unit never starts.
systemd.defaultUnit = "graphical.target";
# The greeter session spawns `moongreet` by name from niri-greeter.kdl, # The greeter session spawns `moongreet` by name from niri-greeter.kdl,
# so it has to resolve in PATH. # so it has to resolve in PATH.
environment.systemPackages = [ moonarchPkgs.moongreet ]; environment.systemPackages = [ moonarchPkgs.moongreet ];