1
0
Fork 0
dotfiles/system/nixos/adguardhome-sync.nix

19 lines
492 B
Nix
Raw Permalink Normal View History

2023-06-10 18:48:07 +00:00
{ config, ... }:
{
virtualisation.oci-containers.containers.adguardhome-sync = {
image = "ghcr.io/bakito/adguardhome-sync";
cmd = [ "run" ];
environmentFiles = [ config.age.secrets.adguardhome-sync-environment.path ];
extraOptions = [
"--label=com.centurylinklabs.watchtower.enable=true"
"--label=io.containers.autoupdate=registry"
];
};
networking.firewall.interfaces."podman+" = {
allowedUDPPorts = [ 443 ];
allowedTCPPorts = [ 443 ];
};
}