1
0
Fork 0
forked from DGNum/lab-infra

chore(proxmox-nixos): Update

This commit is contained in:
sinavir 2024-10-17 13:41:10 +02:00
parent 2ac0a35c5e
commit b8f729c290
2 changed files with 10 additions and 12 deletions

View file

@ -1,14 +1,12 @@
{ sources, lib, ... }:
{ sources, ... }:
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 ];
networking.firewall = {
trustedInterfaces = [ "wt0" ];
allowedTCPPorts = lib.mkForce [ 22 ];
services.proxmox-ve = {
enable = true;
openFirewall = false;
};
nixpkgs.overlays = [ proxmox-nixos.overlays.x86_64-linux ];
}