add auth and mail as containers

This commit is contained in:
goeranh 2026-03-20 17:01:11 +01:00
parent 9e3fa025cd
commit e6442b2442
No known key found for this signature in database
3 changed files with 315 additions and 0 deletions

38
hosts/auth/default.nix Normal file
View file

@ -0,0 +1,38 @@
{
config,
lib,
pkgs,
modulesPath,
...
}:
{
imports = [
"${modulesPath}/virtualisation/proxmox-lxc.nix"
./authentik.nix
];
networking = {
hostName = "auth";
domain = lib.mkForce "test.htw.stura-dresden.de";
interfaces.eth0.ipv4.addresses = [
{
address = "141.56.51.96";
prefixLength = 24;
}
];
defaultGateway = {
address = "141.56.51.254";
interface = "eth0";
};
firewall.allowedTCPPorts = [
80
443
3389
];
};
system.stateVersion = "25.05";
}