1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2025-01-11 03:29:50 +01:00

avizo: use config.wayland.systemd.target

This commit is contained in:
Thiago Kenji Okada 2024-12-31 10:12:21 +00:00 committed by Robert Helgesson
parent adcf0b6281
commit 8f48fea0f8
No known key found for this signature in database
GPG key ID: 96E745BD17AA17ED

View file

@ -57,8 +57,8 @@ in {
services.avizo = {
Unit = {
Description = "Volume/backlight OSD indicator";
PartOf = [ "graphical-session.target" ];
After = [ "graphical-session.target" ];
PartOf = [ config.wayland.systemd.target ];
After = [ config.wayland.systemd.target ];
ConditionEnvironment = "WAYLAND_DISPLAY";
Documentation = "man:avizo(1)";
};
@ -69,7 +69,7 @@ in {
Restart = "always";
};
Install = { WantedBy = [ "graphical-session.target" ]; };
Install = { WantedBy = [ config.wayland.systemd.target ]; };
};
};
};