lab-infra/machines/krz01/proxmox/default.nix

19 lines
338 B
Nix
Raw Normal View History

2024-12-21 12:32:48 +01:00
{
sources,
meta,
name,
...
}:
2024-10-12 00:20:58 +02:00
let
proxmox-nixos = import sources.proxmox-nixos;
in
{
imports = [ proxmox-nixos.nixosModules.proxmox-ve ];
2024-10-17 13:41:10 +02:00
services.proxmox-ve = {
enable = true;
2024-12-21 12:32:48 +01:00
ipAddress = meta.network.${name}.netbirdIp;
2024-10-17 13:41:10 +02:00
openFirewall = false;
2024-10-12 00:20:58 +02:00
};
2024-10-17 13:41:10 +02:00
nixpkgs.overlays = [ proxmox-nixos.overlays.x86_64-linux ];
2024-10-12 00:20:58 +02:00
}