From b24d91e518650b85f010e1a824868339089f00d8 Mon Sep 17 00:00:00 2001 From: nevaforget <> Date: Fri, 7 Aug 2026 12:38:04 +0200 Subject: [PATCH] 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. --- modules/greetd.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/greetd.nix b/modules/greetd.nix index b64b13c..25ed598 100644 --- a/modules/greetd.nix +++ b/modules/greetd.nix @@ -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, # so it has to resolve in PATH. environment.systemPackages = [ moonarchPkgs.moongreet ];