ntfy-client: use default.target instead of multi-user.target
This commit is contained in:
parent
d8b3288d20
commit
f0212ed48f
|
@ -57,8 +57,12 @@ lib.mkMerge [
|
||||||
|
|
||||||
systemd.user.services.ntfy-client = {
|
systemd.user.services.ntfy-client = {
|
||||||
enable = true;
|
enable = true;
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "default.target" ];
|
||||||
after = [ "network.target" ];
|
after = [
|
||||||
|
"network.target"
|
||||||
|
"dbus.socket"
|
||||||
|
];
|
||||||
|
requires = [ "dbus.socket" ];
|
||||||
environment = {
|
environment = {
|
||||||
DISPLAY = ":0";
|
DISPLAY = ":0";
|
||||||
DBUS_SESSION_BUS_ADDRESS = "unix:path=/run/user/${toString config.profile.user.uid}/bus";
|
DBUS_SESSION_BUS_ADDRESS = "unix:path=/run/user/${toString config.profile.user.uid}/bus";
|
||||||
|
|
Loading…
Reference in a new issue