1

Compare commits

..

4 Commits

6 changed files with 205 additions and 180 deletions

View File

@ -3,9 +3,12 @@
lib,
pkgs,
...
}: {
virtualisation.oci-containers.containers.authelia = {
image = "authelia/authelia:latest";
}: let
autheliaVersion = "4.39.4";
in {
virtualisation.oci-containers.containers = {
authelia = {
image = "authelia/authelia:${autheliaVersion}";
autoStart = true;
login = {
@ -37,4 +40,5 @@
"--net=behind-nginx"
];
};
};
}

View File

@ -3,9 +3,12 @@
lib,
pkgs,
...
}: {
virtualisation.oci-containers.containers.formula10 = {
image = "gitea.vps.chriphost.de/christoph/formula10:latest";
}: let
f10Version = "latest";
in {
virtualisation.oci-containers.containers = {
formula10 = {
image = "gitea.vps.chriphost.de/christoph/formula10:${f10Version}";
autoStart = true;
dependsOn = [];
@ -28,4 +31,5 @@
"--net=behind-nginx"
];
};
};
}

View File

@ -3,9 +3,13 @@
lib,
pkgs,
...
}: {
virtualisation.oci-containers.containers.formula11_pocketbase = {
image = "gitea.vps.chriphost.de/christoph/pocketbase:0.25.0";
}: let
pocketbaseVersion = "0.25.0";
f11Version = "latest";
in {
virtualisation.oci-containers.containers = {
formula11_pocketbase = {
image = "gitea.vps.chriphost.de/christoph/pocketbase:${pocketbaseVersion}";
autoStart = true;
dependsOn = [
@ -27,8 +31,8 @@
];
};
virtualisation.oci-containers.containers.formula11 = {
image = "gitea.vps.chriphost.de/christoph/formula11:latest";
formula11 = {
image = "gitea.vps.chriphost.de/christoph/formula11:${f11Version}";
autoStart = true;
dependsOn = [
@ -60,4 +64,5 @@
"--net=behind-nginx"
];
};
};
}

View File

@ -3,14 +3,17 @@
lib,
pkgs,
...
}: {
}: let
heidiVersion = "latest";
in {
# If we need to pass secrets to containers we can't use plain env variables.
sops.templates."heidi_secrets.env".content = ''
DISCORD_TOKEN=${config.sops.placeholder.heidi-discord-token}
'';
virtualisation.oci-containers.containers.heidi = {
image = "gitea.vps.chriphost.de/christoph/discord-heidi:latest";
virtualisation.oci-containers.containers = {
heidi = {
image = "gitea.vps.chriphost.de/christoph/discord-heidi:${heidiVersion}";
autoStart = true;
dependsOn = [];
@ -36,4 +39,5 @@
"--net=behind-nginx"
];
};
};
}

View File

@ -3,9 +3,12 @@
lib,
pkgs,
...
}: {
virtualisation.oci-containers.containers.nginx-proxy-manager = {
image = "jc21/nginx-proxy-manager:latest";
}: let
nginxVersion = "2.12.6";
in {
virtualisation.oci-containers.containers = {
nginx-proxy-manager = {
image = "jc21/nginx-proxy-manager:${nginxVersion}";
autoStart = true;
login = {
@ -40,4 +43,5 @@
"--net=behind-nginx"
];
};
};
}

View File

@ -3,9 +3,12 @@
lib,
pkgs,
...
}: {
virtualisation.oci-containers.containers.whats-up-docker = {
image = "getwud/wud:latest";
}: let
wudVersion = "8.1.1";
in {
virtualisation.oci-containers.containers = {
whats-up-docker = {
image = "getwud/wud:${wudVersion}";
autoStart = true;
login = {
@ -35,4 +38,5 @@
"--net=behind-nginx"
];
};
};
}