1

Services/Adguard: Update to v0.107.63

This commit is contained in:
2025-07-11 19:32:10 +02:00
parent 6844da62cc
commit f014766c9c
2 changed files with 88 additions and 80 deletions

View File

@ -3,14 +3,17 @@
lib,
pkgs,
...
}: {
}: let
TEMPLATEVersion = "";
in {
# If we need to pass secrets to containers we can't use plain env variables.
sops.templates."TEMPLATE_secrets.env".content = ''
SECRET=${config.sops.placeholder.SECRET}
'';
virtualisation.oci-containers.containers.TEMPLATE = {
image = "TEMPLATE";
virtualisation.oci-containers.containers = {
TEMPLATE = {
image = "TEMPLATE:${TEMPLATEVersion}";
autoStart = true;
login = {
@ -44,4 +47,5 @@
"--net=behind-nginx"
];
};
};
}

View File

@ -3,9 +3,12 @@
lib,
pkgs,
...
}: {
virtualisation.oci-containers.containers.adguard = {
image = "adguard/adguardhome";
}: let
adguardVersion = "v0.107.63";
in {
virtualisation.oci-containers.containers = {
adguard = {
image = "adguard/adguardhome:${adguardVersion}";
autoStart = true;
login = {
@ -55,4 +58,5 @@
"--net=behind-nginx"
];
};
};
}