Merge pull request #954 from atimofeev/patch-2

feat(nixos): improved systemd targets and UWSM compatibility
This commit is contained in:
orangc
2025-05-28 17:40:00 +03:00
committed by GitHub

View File

@@ -717,8 +717,8 @@ in
Unit = {
Description = "A Bar/Panel for Hyprland with extensive customizability.";
Documentation = "https://hyprpanel.com";
PartOf = [ "graphical-session.target" ];
After = [ "graphical-session-pre.target" ];
PartOf = [ config.wayland.systemd.target ];
After = [ config.wayland.systemd.target ];
};
Service = {
ExecStart = "${package}/bin/hyprpanel";
@@ -726,7 +726,7 @@ in
Restart = "on-failure";
KillMode = "mixed";
};
Install = { WantedBy = [ "graphical-session.target" ]; };
Install = { WantedBy = [ config.wayland.systemd.target ]; };
};
};