chore: weekly flake update #16

Merged
pazpi merged 6 commits from auto-update/2026-01-30 into master 2026-02-04 10:41:13 +01:00
10 changed files with 44 additions and 57 deletions
Showing only changes of commit c11fea4a9d - Show all commits

View file

@ -1,3 +1,3 @@
# Containers
Easy to deploy in portainer that nix
For deployments via Dockhand (WIP)

View file

@ -12,7 +12,11 @@ in
oidc = {
clientId = "FiIJTqBIlMKmeSBjznUFgXIJadt71av8dfICvZvf";
endpoint = "https://auth.pasetto.me/application/o/dashy/";
scope = ["openid" "profile" "email"];
scope = [
"openid"
"profile"
"email"
];
};
};
webSearch = {
@ -325,10 +329,10 @@ in
};
items = [
{
title = "Portainer";
title = "Docker";
description = "Container Management";
url = "https://portainer.${p.domains.public}";
icon = "hl-portainer";
url = "https://${p.hosts.docker}.${p.domains.public}";
icon = "hl-docker";
}
{
title = "Primary DNS";
@ -354,7 +358,7 @@ in
url = "https://node.${p.domains.public}:8006";
icon = "hl-proxmox";
}
{
{
title = "Krzo";
description = "Proxmox Node";
url = "https://krzo.${p.domains.public}:8006";

View file

@ -125,7 +125,7 @@ in
uptime-kuma.proxy = {
enable = true;
domain = p.domains.public;
host = p.hosts.portainer;
host = p.hosts.docker;
};
librenms.proxy = {
@ -172,22 +172,22 @@ in
}
{
subdomain = "ai";
host = "http://${p.hosts.portainer}:4080";
host = "http://${p.hosts.docker}:4080";
domain = p.domains.public;
}
{
subdomain = "keep";
host = "http://${p.hosts.portainer}:3000";
host = "http://${p.hosts.docker}:3000";
domain = p.domains.public;
}
{
subdomain = "maps";
host = "http://${p.hosts.portainer}:5000";
host = "http://${p.hosts.docker}:5000";
domain = p.domains.public;
}
{
subdomain = "dock";
host = "http://${p.hosts.portainer}:3333";
host = "http://${p.hosts.docker}:3333";
domain = p.domains.public;
}
];

21
hosts/docker/default.nix Normal file
View file

@ -0,0 +1,21 @@
{
pkgs,
lib,
...
}:
{
my = {
utils = {
commons.enable = true;
lxc-standard.enable = true;
};
monitoring.uptime-kuma.enable = true;
virtualisation = {
proxmox.enable = true;
};
};
system.stateVersion = "24.11";
}

View file

@ -29,7 +29,7 @@
"auth"
"metrics"
"nextcloud"
"portainer"
"docker"
"vaultwarden"
"immich"
"firefly-iii"
@ -155,12 +155,12 @@
];
};
portainer = {
module = ./portainer;
docker = {
module = ./docker;
tags = [
"lxc"
"bacco"
"portainer"
"docker"
"secondary"
];
};

View file

@ -104,7 +104,7 @@ in
"${p.hosts.nextcloud}:${defaultNodePort}"
"${p.hosts.vaultwarden}:${defaultNodePort}"
"${p.hosts.plex}:${defaultNodePort}"
"${p.hosts.portainer}:${defaultNodePort}"
"${p.hosts.docker}:${defaultNodePort}"
];
}
];

View file

@ -17,7 +17,7 @@ in
nextcloud = "nextcloud.${private-domain}";
vaultwarden = "vaultwarden.${private-domain}";
plex = "plex.${private-domain}";
portainer = "portainer.${private-domain}";
docker = "docker.${private-domain}";
colmena = "colmena.${private-domain}";
pve01 = "bacco${private-domain}";
pve02 = "node.${private-domain}";

View file

@ -1,38 +0,0 @@
{
config,
pkgs,
lib,
...
}:
let
portainerDataDir = "/var/lib/portainer"; # Define the directory for persistent data
in
{
age.secrets.watchtowerSecrets.file = ../../secrets/watchtower-secrets.age;
my = {
utils = {
commons.enable = true;
lxc-standard.enable = true;
};
monitoring.uptime-kuma.enable = true;
virtualisation = {
proxmox.enable = true;
portainer = {
enable = true;
enableWatchtower = true;
environmentSecrets = config.age.secrets.watchtowerSecrets.path;
};
};
};
# Extra packages
environment.shellAliases = {
docker = "sudo docker";
};
system.stateVersion = "24.11";
}

View file

@ -16,7 +16,7 @@ let
machines.caddy
machines.metrics
];
watchtower-secrets = [ machines.portainer ];
watchtower-secrets = [ machines.docker ];
authentik-env = [ machines.auth ];
dns01-admin-password = [ machines.dns01 ];
dns02-admin-password = [ machines.dns02 ];

View file

@ -13,7 +13,7 @@ rec {
nextcloud = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGYobAlQ9tPKjyh7eE2Ku81ZiMY6OWd3ELDqo+xBmjbC";
vaultwarden = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOW9uYQpPMiKvI/KFRvd/5f9J8a0zLaQxstWRI8VNObV";
plex = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINp9itRJGSSVWLxwrcudyGUNOOKl+qqtf+IzLHrhffyt";
portainer = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMgg4SKMCw2/21l1crY7trFnrCmNSrkYPl3vEDnJ8aQn";
docker = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMgg4SKMCw2/21l1crY7trFnrCmNSrkYPl3vEDnJ8aQn";
auth = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFsSQbXHRt+MpUh+YQxd5p6YPnbbWR/4ylz/pXjdZ9Bs";
dns01 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII7BdiP/dCE6FHoJylcBKQ5AXz06UpLHNyeuvfLVccSi";
dns02 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ+HIq6/ebjiv71xDozdOTn5AdnXgr1fGqIzXnH7Not+";