dotfiles.nix/nixos/lavender/containers/qbittorrent/default.nix

18 lines
341 B
Nix
Raw Normal View History

2023-05-16 14:08:07 +08:00
{ ... }:
{
# Qbittorrent
virtualisation.oci-containers.containers."qbittorrent" = {
autoStart = true;
2023-05-21 17:41:24 +08:00
image = "cr.hotio.dev/hotio/qbittorrent:release";
2023-05-16 14:08:07 +08:00
volumes = [
"/srv/containers/qbittorrent:/config"
2023-05-21 17:41:24 +08:00
"/srv/data/torrents:/data/torrents"
];
ports = [
"8383:8080"
"32372:32372"
2023-05-16 14:08:07 +08:00
];
};
}