From d69f2911cc61f95a98880f1602a0f08196a8b6cf Mon Sep 17 00:00:00 2001 From: chn Date: Sun, 19 May 2024 13:08:04 +0800 Subject: [PATCH] services.rsshub: fix --- modules/services/rsshub.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/services/rsshub.nix b/modules/services/rsshub.nix index f2dd172f..41452eaa 100644 --- a/modules/services/rsshub.nix +++ b/modules/services/rsshub.nix @@ -24,6 +24,7 @@ inputs: User = inputs.config.users.users.rsshub.name; Group = inputs.config.users.users.rsshub.group; EnvironmentFile = inputs.config.sops.templates."rsshub/env".path; + WorkingDirectory = "${inputs.pkgs.localPackages.rsshub}"; ExecStart = "${inputs.pkgs.localPackages.rsshub}/bin/rsshub"; CapabilityBoundingSet = [ "CAP_NET_BIND_SERVICE" ]; AmbientCapabilities = [ "CAP_NET_BIND_SERVICE" ];