From ce924a7516df9f76fd6287184a81bcb14deba1cb Mon Sep 17 00:00:00 2001 From: Tigor Hutasuhut Date: Mon, 21 Oct 2024 12:44:35 +0700 Subject: [PATCH] ntfy-client: moved to user services --- system/services/ntfy-sh.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/system/services/ntfy-sh.nix b/system/services/ntfy-sh.nix index cb18880..7c42015 100644 --- a/system/services/ntfy-sh.nix +++ b/system/services/ntfy-sh.nix @@ -55,7 +55,7 @@ lib.mkMerge [ NTFY_CONFIG = configPath; }; - systemd.services.ntfy-client = { + systemd.user.services.ntfy-client = { enable = true; wantedBy = [ "multi-user.target" ]; after = [ "network.target" ]; @@ -72,8 +72,8 @@ lib.mkMerge [ serviceConfig = { ExecStart = "${pkgs.ntfy-sh}/bin/ntfy --debug subscribe --config /etc/ntfy/client.yml --from-config"; Restart = "on-failure"; - User = config.profile.user.uid; - Group = config.profile.user.gid; + # User = config.profile.user.uid; + # Group = config.profile.user.gid; }; };