diff --git a/hosts/sobotka/default.nix b/hosts/sobotka/default.nix index 52f20249..576c6396 100644 --- a/hosts/sobotka/default.nix +++ b/hosts/sobotka/default.nix @@ -29,6 +29,13 @@ in { "fuse" "fail2ban" "vaultwarden" + "qbittorrent" + "lidarr" + "prowlarr" + "bazarr" + "sonarr" + "radarr" + "media" ]; }; diff --git a/modules/server/qbittorrent/default.nix b/modules/server/qbittorrent/default.nix index f5549104..4a6ff681 100644 --- a/modules/server/qbittorrent/default.nix +++ b/modules/server/qbittorrent/default.nix @@ -58,15 +58,15 @@ in { "--network=container:gluetun" ]; volumes = [ - "/var/lib/qbittorrent:/config" - "/shared/downloads:/downloads" + "config:/var/lib/qbittorrent" + "downloads:/home/cnst/downloads" ]; environmentFiles = [ config.age.secrets.gluetunEnv.path ]; environment = { - PUID = "${builtins.toString srv.uid}"; - PGID = "${builtins.toString srv.gid}"; + PUID = "0"; + PGID = "777"; TZ = "Etc/UTC"; WEBUI_PORT = "${builtins.toString cfg.port}"; };