From 4cb4bd6f3d150ac2a478316f8bf754a9cd6953f1 Mon Sep 17 00:00:00 2001 From: Richie Cahill Date: Fri, 26 Dec 2025 18:40:50 -0500 Subject: [PATCH] removing qbit --- .vscode/settings.json | 4 -- systems/jeeves/docker/qbitvpn.nix | 47 -------------------- systems/jeeves/services/validate_system.toml | 1 - systems/jeeves/snapshot_config.toml | 12 ----- systems/jeeves/vars.nix | 2 - 5 files changed, 66 deletions(-) delete mode 100644 systems/jeeves/docker/qbitvpn.nix diff --git a/.vscode/settings.json b/.vscode/settings.json index 9bfa606..22e9f2e 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -231,10 +231,6 @@ "pyopenweathermap", "pyownet", "pytest", - "qbit", - "qbittorrent", - "qbittorrentvpn", - "qbitvpn", "quicksuggest", "radarr", "readahead", diff --git a/systems/jeeves/docker/qbitvpn.nix b/systems/jeeves/docker/qbitvpn.nix deleted file mode 100644 index e67baa3..0000000 --- a/systems/jeeves/docker/qbitvpn.nix +++ /dev/null @@ -1,47 +0,0 @@ -let - vars = import ../vars.nix; -in -{ - networking.firewall = { - allowedTCPPorts = [ - 6882 - 8081 - 8118 - ]; - allowedUDPPorts = [ 6882 ]; - }; - virtualisation.oci-containers.containers.qbitvpn = { - image = "binhex/arch-qbittorrentvpn:5.0.3-1-01"; - devices = [ "/dev/net/tun:/dev/net/tun" ]; - extraOptions = [ "--cap-add=NET_ADMIN" ]; - ports = [ - "6882:6881" - "6882:6881/udp" - "8081:8081" - "8118:8118" - ]; - volumes = [ - "${vars.docker_configs}/qbitvpn:/config" - "${vars.qbitvpn}:/data" - "${vars.qbitvpn_scratch}:/data/incomplete" - "/etc/localtime:/etc/localtime:ro" - ]; - environment = { - WEBUI_PORT = "8081"; - PUID = "600"; - PGID = "100"; - VPN_ENABLED = "yes"; - VPN_CLIENT = "openvpn"; - STRICT_PORT_FORWARD = "yes"; - ENABLE_PRIVOXY = "yes"; - LAN_NETWORK = "192.168.90.0/24"; - NAME_SERVERS = "1.1.1.1,1.0.0.1"; - UMASK = "000"; - DEBUG = "false"; - DELUGE_DAEMON_LOG_LEVEL = "debug"; - DELUGE_WEB_LOG_LEVEL = "debug"; - }; - environmentFiles = [ "${vars.secrets}/docker/qbitvpn" ]; - autoStart = true; - }; -} diff --git a/systems/jeeves/services/validate_system.toml b/systems/jeeves/services/validate_system.toml index 66b2902..01d2158 100644 --- a/systems/jeeves/services/validate_system.toml +++ b/systems/jeeves/services/validate_system.toml @@ -3,7 +3,6 @@ services = [ "audiobookshelf", "cloud_flare_tunnel", "haproxy", - "docker-qbitvpn", "docker", "filebrowser", "home-assistant", diff --git a/systems/jeeves/snapshot_config.toml b/systems/jeeves/snapshot_config.toml index 3be13ed..9e895c8 100644 --- a/systems/jeeves/snapshot_config.toml +++ b/systems/jeeves/snapshot_config.toml @@ -64,24 +64,12 @@ hourly = 12 daily = 14 monthly = 2 -["scratch/qbitvpn"] -15_min = 0 -hourly = 0 -daily = 0 -monthly = 0 - ["scratch/transmission"] 15_min = 0 hourly = 0 daily = 0 monthly = 0 -["storage/qbitvpn"] -15_min = 0 -hourly = 0 -daily = 0 -monthly = 0 - ["storage/transmission"] 15_min = 0 hourly = 0 diff --git a/systems/jeeves/vars.nix b/systems/jeeves/vars.nix index c0d30a5..c64a0c1 100644 --- a/systems/jeeves/vars.nix +++ b/systems/jeeves/vars.nix @@ -10,8 +10,6 @@ in docker_configs = "${zfs_media}/docker/configs"; home_assistant = "${zfs_media}/home_assistant"; notes = "${zfs_media}/notes"; - qbitvpn = "${zfs_storage}/qbitvpn"; - qbitvpn_scratch = "${zfs_scratch}/qbitvpn"; secrets = "${zfs_storage}/secrets"; services = "${zfs_media}/services"; share = "${zfs_media}/share";