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 +}