infrastructure/machines/krz01/proxmox/default.nix

15 lines
345 B
Nix
Raw Permalink Normal View History

2024-10-08 13:58:49 +02:00
{ sources, lib, ... }:
2024-10-08 12:18:26 +02:00
let
proxmox-nixos = import sources.proxmox-nixos;
in
{
imports = [ proxmox-nixos.nixosModules.proxmox-ve ];
services.proxmox-ve.enable = true;
nixpkgs.overlays = [ proxmox-nixos.overlays.x86_64-linux ];
2024-10-08 13:58:49 +02:00
networking.firewall = {
trustedInterfaces = [ "wt0" ];
allowedTCPPorts = lib.mkForce [ 22 ];
};
2024-10-08 12:18:26 +02:00
}