From 6fdf162bd041b2a7883a6e472a0793e55298e588 Mon Sep 17 00:00:00 2001 From: "Casper V. Kristensen" Date: Sat, 18 May 2024 01:39:04 +0200 Subject: [PATCH] archiveteam-warrior --- hosts/sigma/archiveteam-warrior.nix | 20 ++++++++++++++++++++ hosts/sigma/default.nix | 1 + 2 files changed, 21 insertions(+) create mode 100644 hosts/sigma/archiveteam-warrior.nix diff --git a/hosts/sigma/archiveteam-warrior.nix b/hosts/sigma/archiveteam-warrior.nix new file mode 100644 index 0000000..e05aa85 --- /dev/null +++ b/hosts/sigma/archiveteam-warrior.nix @@ -0,0 +1,20 @@ +{...}: { + 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"; + }; + 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