Services/Adguard: Update to v0.107.63
This commit is contained in:
@ -3,14 +3,17 @@
|
|||||||
lib,
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: let
|
||||||
|
TEMPLATEVersion = "";
|
||||||
|
in {
|
||||||
# If we need to pass secrets to containers we can't use plain env variables.
|
# If we need to pass secrets to containers we can't use plain env variables.
|
||||||
sops.templates."TEMPLATE_secrets.env".content = ''
|
sops.templates."TEMPLATE_secrets.env".content = ''
|
||||||
SECRET=${config.sops.placeholder.SECRET}
|
SECRET=${config.sops.placeholder.SECRET}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
virtualisation.oci-containers.containers.TEMPLATE = {
|
virtualisation.oci-containers.containers = {
|
||||||
image = "TEMPLATE";
|
TEMPLATE = {
|
||||||
|
image = "TEMPLATE:${TEMPLATEVersion}";
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
|
|
||||||
login = {
|
login = {
|
||||||
@ -44,4 +47,5 @@
|
|||||||
"--net=behind-nginx"
|
"--net=behind-nginx"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
@ -3,9 +3,12 @@
|
|||||||
lib,
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: let
|
||||||
virtualisation.oci-containers.containers.adguard = {
|
adguardVersion = "v0.107.63";
|
||||||
image = "adguard/adguardhome";
|
in {
|
||||||
|
virtualisation.oci-containers.containers = {
|
||||||
|
adguard = {
|
||||||
|
image = "adguard/adguardhome:${adguardVersion}";
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
|
|
||||||
login = {
|
login = {
|
||||||
@ -55,4 +58,5 @@
|
|||||||
"--net=behind-nginx"
|
"--net=behind-nginx"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user