.github
.vscode
docs
hydra
keys
lib
modules
pkgs
systems
artemision
palatine-hill
attic
docker
archiveteam.nix
books.nix
default.nix
firefly.nix
foundry.nix
glances.nix
haproxy.cfg
haproxy.nix
minecraft.nix
nextcloud.nix
postgres.nix
restic.nix
torr.nix
unifi.nix
haproxy
configuration.nix
default.nix
firewall.nix
gitea.nix
hardware-changes.nix
hardware.nix
hydra.nix
minio.nix
networking.nix
nextcloud.nix
secrets.yaml
vars.nix
zfs.nix
users
utils
.envrc
.gitconfig
.gitignore
.sops.yaml
CONTRIBUTING.md
README.md
checks.nix
flake.lock
flake.nix
shell.nix
statix.toml
treefmt.toml
33 lines
725 B
Nix
33 lines
725 B
Nix
|
{ ... }:
|
||
|
|
||
|
let
|
||
|
vars = import ../vars.nix;
|
||
|
docker_path = vars.primary_docker;
|
||
|
calibre_path = vars.primary_calibre;
|
||
|
in
|
||
|
{
|
||
|
virtualisation.oci-containers.containers = {
|
||
|
automated-ffdl-alice = {
|
||
|
image = "mrtyton/automated-ffdl:latest";
|
||
|
user = "600:100";
|
||
|
extraOptions = [ "--restart=unless-stopped" ];
|
||
|
environment = {
|
||
|
PUID = "600";
|
||
|
PGID = "100";
|
||
|
};
|
||
|
volumes = [
|
||
|
"${docker_path}/auto-fic/config:/config"
|
||
|
"${calibre_path}/ffdl-alice:/var/lib/calibre-server"
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
|
||
|
services.autopull = {
|
||
|
enable = true;
|
||
|
repo.FanFicFare-alice = {
|
||
|
enable = true;
|
||
|
path = /ZFS/ZFS-primary/calibre/ffdl-alice/config/FanFicFare;
|
||
|
};
|
||
|
};
|
||
|
}
|