diff --git a/hosts/Hevana/default.nix b/hosts/Hevana/default.nix index 96f9a63..9fde542 100644 --- a/hosts/Hevana/default.nix +++ b/hosts/Hevana/default.nix @@ -196,7 +196,7 @@ in ports = [ config.secrets.hosts.dimaga.ssh.port ]; }; transmission = { - enable = true; + enable = false; home = "${services-root}/transmission"; url = config.secrets.services.transmission.url; auth = { diff --git a/modules/services/qbittorrent.nix b/modules/services/qbittorrent.nix index 0a619a2..8ef609a 100644 --- a/modules/services/qbittorrent.nix +++ b/modules/services/qbittorrent.nix @@ -9,7 +9,7 @@ let cfg = config.aux.system.services.qbittorrent; UID = 850; GID = 850; - package = pkgs.qbittorrent; + package = pkgs.qbittorrent-nox; port = 8080; in { @@ -52,7 +52,7 @@ in proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Server $host; - proxy_set_header X-Forwarded-For $proxy_add_x_forwnoxarded_for; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; ''; }; }; @@ -62,7 +62,7 @@ in # based on the plex.nix service module and # https://github.com/qbittorrent/qBittorrent/blob/master/dist/unix/systemd/qbittorrent-nox%40.service.in description = "qBittorrent service"; - documentation = [ "man:qbittorrent(1)" ]; + documentation = [ "man:qbittorrent-nox(1)" ]; after = [ "network.target" ]; wantedBy = [ "multi-user.target" ]; unitConfig.RequiresMountsFor = cfg.home; diff --git a/secrets b/secrets index 75970a6..967332a 160000 --- a/secrets +++ b/secrets @@ -1 +1 @@ -Subproject commit 75970a6034cc961a749d07d9c51ef9f8f8f48848 +Subproject commit 967332abfd758e3922cb676fd594a220f9b0fa8f