diff --git a/modules/user/graphical.nix b/modules/user/graphical.nix index ee1183a..545c991 100644 --- a/modules/user/graphical.nix +++ b/modules/user/graphical.nix @@ -47,4 +47,14 @@ ])) ]; }; + + systemd.user.targets.hyprland-session = { + Unit = { + Description = "Hyprland graphical session"; + Documentation = [ "man:systemd.special(7)" ]; + BindsTo = [ "graphical-session.target" ]; + Wants = [ "graphical-session-pre.target" ]; + After = [ "graphical-session-pre.target" ]; + }; + }; }