nix-configs/nixos-modules/docker-qbittorrent.nix

32 lines
711 B
Nix
Raw Permalink Normal View History

2024-10-01 17:42:47 -04:00
{
virtualisation = {
containers.enable = true;
podman.enable = true;
oci-containers.containers = {
qbittorrent = {
2024-10-03 08:58:12 -04:00
image = "lscr.io/linuxserver/qbittorrent:4.6.7";
2024-10-01 17:42:47 -04:00
volumes = [
"qbittorrent-config:/config"
"/video-data/torrent:/data/torrent"
];
environment = {
TZ = "America/New_York";
2024-10-02 22:00:08 -04:00
PUID = "910";
PGID = "911";
UMASK = "002";
2024-10-01 17:42:47 -04:00
DELUGE_LOGLEVEL = "error";
};
labels.swag = "enable";
ports = [
"34996:34996"
"34996:34996/udp"
];
extraOptions = [
"--pull=newer"
"--network=www"
];
};
};
};
}