From b43521083944e218f8bb622b58afafa7742d043b Mon Sep 17 00:00:00 2001 From: cnst Date: Mon, 21 Jul 2025 18:49:10 +0200 Subject: [PATCH] some changes --- hosts/sobotka/default.nix | 7 +++++++ modules/server/qbittorrent/default.nix | 8 ++++---- 2 files changed, 11 insertions(+), 4 deletions(-) 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}"; };