mirror of
https://github.com/nix-community/home-manager
synced 2025-01-11 03:29:50 +01:00
wob: use config.wayland.systemd.target
This commit is contained in:
parent
51ba4aacec
commit
adcf0b6281
2 changed files with 5 additions and 5 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue