chore(proxmox-nixos): Update
All checks were successful
build configuration / build_and_cache_storage01 (push) Successful in 1m18s
build configuration / build_and_cache_geo01 (push) Successful in 1m6s
build configuration / build_and_cache_rescue01 (push) Successful in 1m14s
build configuration / build_and_cache_compute01 (push) Successful in 1m31s
build configuration / build_and_cache_krz01 (push) Successful in 2m6s
build configuration / build_and_cache_geo02 (push) Successful in 1m2s
build configuration / build_and_cache_web02 (push) Successful in 1m7s
build configuration / build_and_cache_vault01 (push) Successful in 1m22s
build configuration / build_and_cache_web03 (push) Successful in 1m7s
lint / check (push) Successful in 24s
build configuration / build_and_cache_web01 (push) Successful in 1m40s
build configuration / build_and_cache_bridge01 (push) Successful in 1m1s

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