hotio qbt

This commit is contained in:
2025-07-22 15:25:08 +02:00
parent 6091d0586c
commit 13394d1176

View File

@@ -49,7 +49,7 @@ in {
virtualisation.oci-containers.containers = { virtualisation.oci-containers.containers = {
qbittorrent = { qbittorrent = {
image = "linuxserver/qbittorrent:latest"; image = "ghcr.io/hotio/qbittorrent:latest";
autoStart = true; autoStart = true;
dependsOn = ["gluetun"]; dependsOn = ["gluetun"];
ports = [ ports = [
@@ -60,15 +60,15 @@ in {
"--network=container:gluetun" "--network=container:gluetun"
]; ];
volumes = [ volumes = [
"config:/var/lib/qbittorrent" "/var/lib/qbittorrent:/config:rw"
"downloads:/share/downloads" "/share/downloads:/downloads:rw"
]; ];
environmentFiles = [ environmentFiles = [
config.age.secrets.gluetunEnv.path config.age.secrets.gluetunEnv.path
]; ];
environment = { environment = {
PUID = toString uid; # PUID = toString uid;
PGID = toString gid; # PGID = toString gid;
TZ = "Europe/Stockholm"; TZ = "Europe/Stockholm";
WEBUI_PORT = "${builtins.toString cfg.port}"; WEBUI_PORT = "${builtins.toString cfg.port}";
}; };