Compare commits
No commits in common. "6fdf162bd041b2a7883a6e472a0793e55298e588" and "47017b65f289a74229db4042699e4dc54b7d988e" have entirely different histories.
6fdf162bd0
...
47017b65f2
3 changed files with 2 additions and 30 deletions
|
@ -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/base
|
||||||
../../modules/server
|
../../modules/server
|
||||||
./acme.nix
|
./acme.nix
|
||||||
./archiveteam-warrior.nix
|
|
||||||
./borg.nix
|
./borg.nix
|
||||||
./caddy.nix
|
./caddy.nix
|
||||||
./deluge.nix
|
./deluge.nix
|
||||||
|
|
|
@ -8,21 +8,14 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
# Automatically `podman system prune` weekly
|
# Automatically `podman system prune` weekly
|
||||||
autoPrune.enable = true;
|
autoPrune.enable = true;
|
||||||
|
# Required for containers under podman-compose to be able to talk to each
|
||||||
|
# other.
|
||||||
defaultNetwork.settings = {
|
defaultNetwork.settings = {
|
||||||
# DNS is required for containers under podman-compose to be able to talk
|
|
||||||
# to each other.
|
|
||||||
dns_enabled = true;
|
dns_enabled = true;
|
||||||
ipv6_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
|
# Persist docker volumes
|
||||||
environment.persistence."/nix/persist" = {
|
environment.persistence."/nix/persist" = {
|
||||||
directories = [
|
directories = [
|
||||||
|
|
Loading…
Add table
Reference in a new issue