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 = {
|
systemd.user.services.dunst = {
|
||||||
Unit = {
|
Unit = {
|
||||||
Description = "Dunst notification daemon";
|
Description = "Dunst notification daemon";
|
||||||
After = [ "graphical-session-pre.target" ];
|
After = [ config.wayland.systemd.target ];
|
||||||
PartOf = [ "graphical-session.target" ];
|
PartOf = [ config.wayland.systemd.target ];
|
||||||
};
|
};
|
||||||
|
|
||||||
Service = {
|
Service = {
|
||||||
|
|
|
@ -50,8 +50,8 @@ in {
|
||||||
Description =
|
Description =
|
||||||
"A lightweight overlay volume/backlight/progress/anything bar for Wayland";
|
"A lightweight overlay volume/backlight/progress/anything bar for Wayland";
|
||||||
Documentation = "man:wob(1)";
|
Documentation = "man:wob(1)";
|
||||||
PartOf = "graphical-session.target";
|
PartOf = [ config.wayland.systemd.target ];
|
||||||
After = "graphical-session.target";
|
After = [ config.wayland.systemd.target ];
|
||||||
ConditionEnvironment = "WAYLAND_DISPLAY";
|
ConditionEnvironment = "WAYLAND_DISPLAY";
|
||||||
};
|
};
|
||||||
Service = {
|
Service = {
|
||||||
|
@ -59,7 +59,7 @@ in {
|
||||||
ExecStart = builtins.concatStringsSep " " ([ (getExe cfg.package) ]
|
ExecStart = builtins.concatStringsSep " " ([ (getExe cfg.package) ]
|
||||||
++ optional (cfg.settings != { }) "--config ${configFile}");
|
++ optional (cfg.settings != { }) "--config ${configFile}");
|
||||||
};
|
};
|
||||||
Install.WantedBy = [ "graphical-session.target" ];
|
Install.WantedBy = [ config.wayland.systemd.target ];
|
||||||
};
|
};
|
||||||
|
|
||||||
sockets.wob = {
|
sockets.wob = {
|
||||||
|
|
Loading…
Reference in a new issue