diff --git a/hosts/sigma/archiveteam-warrior.nix b/hosts/sigma/archiveteam-warrior.nix new file mode 100644 index 0000000..8baca57 --- /dev/null +++ b/hosts/sigma/archiveteam-warrior.nix @@ -0,0 +1,21 @@ +{...}: { + virtualisation.oci-containers.containers = { + archiveteam-warrior = { + # https://wiki.archiveteam.org/index.php?title=ArchiveTeam_Warrior#Advanced_usage_(container_only) + image = "atdr.meo.ws/archiveteam/warrior-dockerfile:latest"; + labels = { + "io.containers.autoupdate" = "registry"; + }; + environment = { + # https://wiki.archiveteam.org/index.php/ArchiveTeam_Warrior/Docker_environment_variables + DOWNLOADER = "x34xw9mjrntztxgr"; # nickname + SELECTED_PROJECT = "auto"; + CONCURRENT_ITEMS = "6"; # max + }; + ports = [ + # ssh -L 8001:localhost:8001 sigma + "127.0.0.1:8001:8001" + ]; + }; + }; +} diff --git a/hosts/sigma/default.nix b/hosts/sigma/default.nix index e4675fe..a6a7a75 100644 --- a/hosts/sigma/default.nix +++ b/hosts/sigma/default.nix @@ -4,6 +4,7 @@ ../../modules/base ../../modules/server ./acme.nix + ./archiveteam-warrior.nix ./borg.nix ./caddy.nix ./deluge.nix