31 lines
705 B
Nix
31 lines
705 B
Nix
{
|
|
virtualisation = {
|
|
containers.enable = true;
|
|
podman.enable = true;
|
|
oci-containers.containers = {
|
|
qbittorrent = {
|
|
image = "lscr.io/linuxserver/qbittorrent";
|
|
volumes = [
|
|
"qbittorrent-config:/config"
|
|
"/video-data/torrent:/data/torrent"
|
|
];
|
|
environment = {
|
|
TZ = "America/New_York";
|
|
PUID = "910";
|
|
PGID = "911";
|
|
UMASK = "002";
|
|
DELUGE_LOGLEVEL = "error";
|
|
};
|
|
labels.swag = "enable";
|
|
ports = [
|
|
"34996:34996"
|
|
"34996:34996/udp"
|
|
];
|
|
extraOptions = [
|
|
"--pull=newer"
|
|
"--network=www"
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|