Compare commits
No commits in common. "6fdf162bd041b2a7883a6e472a0793e55298e588" and "47017b65f289a74229db4042699e4dc54b7d988e" have entirely different histories.
6fdf162bd0
...
47017b65f2
|
@ -1,20 +0,0 @@
|
|||
{...}: {
|
||||
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"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
|
@ -4,7 +4,6 @@
|
|||
../../modules/base
|
||||
../../modules/server
|
||||
./acme.nix
|
||||
./archiveteam-warrior.nix
|
||||
./borg.nix
|
||||
./caddy.nix
|
||||
./deluge.nix
|
||||
|
|
|
@ -8,21 +8,14 @@
|
|||
enable = true;
|
||||
# Automatically `podman system prune` weekly
|
||||
autoPrune.enable = true;
|
||||
# Required for containers under podman-compose to be able to talk to each
|
||||
# other.
|
||||
defaultNetwork.settings = {
|
||||
# DNS is required for containers under podman-compose to be able to talk
|
||||
# to each other.
|
||||
dns_enabled = true;
|
||||
ipv6_enabled = true;
|
||||
};
|
||||
};
|
||||
|
||||
# Auto-update containers
|
||||
# https://docs.podman.io/en/latest/markdown/podman-auto-update.1.html
|
||||
systemd = {
|
||||
timers.podman-auto-update.enable = true;
|
||||
units."podman-auto-update.timer".wantedBy = ["timers.target"];
|
||||
};
|
||||
|
||||
# Persist docker volumes
|
||||
environment.persistence."/nix/persist" = {
|
||||
directories = [
|
||||
|
|
Loading…
Reference in a new issue