From 070238748805fc6a2f98a2d680cb83584508ecf9 Mon Sep 17 00:00:00 2001 From: Adrian Gunnar Lauterer Date: Thu, 18 Apr 2024 16:20:47 +0200 Subject: [PATCH] fix perm qbit --- services/torrent.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/services/torrent.nix b/services/torrent.nix index adde71d..3428b36 100644 --- a/services/torrent.nix +++ b/services/torrent.nix @@ -93,11 +93,14 @@ in networking.firewall.allowedUDPPorts = [ port torrentPort]; sops.secrets."qbittorrent/interfaceAddress" = { + restartUnits = [ "qbittorrent-nox.service" ]; }; sops.templates."qbittorrent/configuration" = { content = configurationFile; path = "${path}/.config/qBittorrent/qBittorrent.conf"; + owner = "qbittorrent"; + }; @@ -124,4 +127,4 @@ in }; }; -} \ No newline at end of file +}