lab-infra/machines/krz01/proxmox/default.nix
2024-12-21 12:57:08 +01:00

18 lines
338 B
Nix

{
sources,
meta,
name,
...
}:
let
proxmox-nixos = import sources.proxmox-nixos;
in
{
imports = [ proxmox-nixos.nixosModules.proxmox-ve ];
services.proxmox-ve = {
enable = true;
ipAddress = meta.network.${name}.netbirdIp;
openFirewall = false;
};
nixpkgs.overlays = [ proxmox-nixos.overlays.x86_64-linux ];
}