ntfy-client: use default.target instead of multi-user.target

This commit is contained in:
Tigor Hutasuhut 2024-10-22 15:36:58 +07:00
parent d8b3288d20
commit f0212ed48f

View file

@ -57,8 +57,12 @@ lib.mkMerge [
systemd.user.services.ntfy-client = {
enable = true;
wantedBy = [ "multi-user.target" ];
after = [ "network.target" ];
wantedBy = [ "default.target" ];
after = [
"network.target"
"dbus.socket"
];
requires = [ "dbus.socket" ];
environment = {
DISPLAY = ":0";
DBUS_SESSION_BUS_ADDRESS = "unix:path=/run/user/${toString config.profile.user.uid}/bus";