From 1827c01193fa5215cc308347210f0210e22ea2aa Mon Sep 17 00:00:00 2001 From: Artem Timofeev <39891735+atimofeev@users.noreply.github.com> Date: Mon, 26 May 2025 12:48:14 +0200 Subject: [PATCH] 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 --- nix/module.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nix/module.nix b/nix/module.nix index c835982..ecba461 100644 --- a/nix/module.nix +++ b/nix/module.nix @@ -728,8 +728,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"; @@ -737,7 +737,7 @@ in Restart = "on-failure"; KillMode = "mixed"; }; - Install = { WantedBy = [ "graphical-session.target" ]; }; + Install = { WantedBy = [ config.wayland.systemd.target ]; }; }; };