This commit is contained in:
Lucy Hochkamp 2024-08-30 19:33:39 +02:00
parent 279570c40b
commit eb9cd960e5
No known key found for this signature in database
10 changed files with 388 additions and 97 deletions

View file

@ -140,4 +140,19 @@ in
};
};
# changedetection
systemd.services."podman-cd-network" = {
script = ''
${pkgs.podman}/bin/podman network exists cd-net || ${pkgs.podman}/bin/podman network create cd-net --internal --ipv6
'';
};
virtualisation.oci-containers.containers.changedetection = {
image = "dgtlmoon/changedetection.io";
extraOptions = [ "--network=podman" "--network=cd-net" ];
volumes = [
"changedetection-data:/datastore"
];
};
}