feat(nixos): improved systemd targets and UWSM compatibility
Based on these changes in home-manager: nix-community/home-manager#5785 nix-community/home-manager#6253
This commit is contained in:
@@ -728,8 +728,8 @@ in
|
|||||||
Unit = {
|
Unit = {
|
||||||
Description = "A Bar/Panel for Hyprland with extensive customizability.";
|
Description = "A Bar/Panel for Hyprland with extensive customizability.";
|
||||||
Documentation = "https://hyprpanel.com";
|
Documentation = "https://hyprpanel.com";
|
||||||
PartOf = [ "graphical-session.target" ];
|
PartOf = [ config.wayland.systemd.target ];
|
||||||
After = [ "graphical-session-pre.target" ];
|
After = [ config.wayland.systemd.target ];
|
||||||
};
|
};
|
||||||
Service = {
|
Service = {
|
||||||
ExecStart = "${package}/bin/hyprpanel";
|
ExecStart = "${package}/bin/hyprpanel";
|
||||||
@@ -737,7 +737,7 @@ in
|
|||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
KillMode = "mixed";
|
KillMode = "mixed";
|
||||||
};
|
};
|
||||||
Install = { WantedBy = [ "graphical-session.target" ]; };
|
Install = { WantedBy = [ config.wayland.systemd.target ]; };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user