forked from DGNum/lab-infra
chore(proxmox-nixos): Update
This commit is contained in:
parent
2ac0a35c5e
commit
b8f729c290
2 changed files with 10 additions and 12 deletions
|
@ -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 ];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue