chore(proxmox-nixos): Update

This commit is contained in:
sinavir 2024-10-17 15:33:04 +02:00
parent b850ee56c2
commit a02da5f496
5 changed files with 9 additions and 72 deletions

View file

@ -72,7 +72,7 @@ lib.extra.mkConfig {
};
};
networking.firewall.interfaces.wt0.allowedTCPPorts = [ config.services.ollama.port ];
networking.firewall.trustedInterfaces = [ "wt0" ];
};
root = ./.;

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 ];
}