setup new host + migrate containers to it

This commit is contained in:
♥ Minnie ♥ 2023-10-30 16:39:05 +08:00
parent 804423319f
commit 0949fbc9c7
12 changed files with 8 additions and 15 deletions

View file

@ -0,0 +1,18 @@
{ ... }:
{
# Qbittorrent
virtualisation.oci-containers.containers."qbittorrent" = {
autoStart = true;
image = "cr.hotio.dev/hotio/qbittorrent:release";
volumes = [
"/srv/containers/qbittorrent:/config"
"/srv/data/torrents:/data/torrents"
];
ports = [
"8383:8080"
"32372:32372"
];
extraOptions = ["--network=media-stack"];
};
}