mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:59:37 +08:00
wob: use config.wayland.systemd.target
This commit is contained in:
committed by
Austin Horstman
parent
840affabc4
commit
dd06754e42
@@ -180,8 +180,8 @@ in {
|
||||
systemd.user.services.dunst = {
|
||||
Unit = {
|
||||
Description = "Dunst notification daemon";
|
||||
After = [ "graphical-session-pre.target" ];
|
||||
PartOf = [ "graphical-session.target" ];
|
||||
After = [ config.wayland.systemd.target ];
|
||||
PartOf = [ config.wayland.systemd.target ];
|
||||
};
|
||||
|
||||
Service = {
|
||||
|
||||
@@ -50,8 +50,8 @@ in {
|
||||
Description =
|
||||
"A lightweight overlay volume/backlight/progress/anything bar for Wayland";
|
||||
Documentation = "man:wob(1)";
|
||||
PartOf = "graphical-session.target";
|
||||
After = "graphical-session.target";
|
||||
PartOf = [ config.wayland.systemd.target ];
|
||||
After = [ config.wayland.systemd.target ];
|
||||
ConditionEnvironment = "WAYLAND_DISPLAY";
|
||||
};
|
||||
Service = {
|
||||
@@ -59,7 +59,7 @@ in {
|
||||
ExecStart = builtins.concatStringsSep " " ([ (getExe cfg.package) ]
|
||||
++ optional (cfg.settings != { }) "--config ${configFile}");
|
||||
};
|
||||
Install.WantedBy = [ "graphical-session.target" ];
|
||||
Install.WantedBy = [ config.wayland.systemd.target ];
|
||||
};
|
||||
|
||||
sockets.wob = {
|
||||
|
||||
Reference in New Issue
Block a user