feat(krz01): Proxmox

This commit is contained in:
sinavir 2024-10-08 13:58:49 +02:00
parent c6588da802
commit 39f5cad75d
3 changed files with 12 additions and 5 deletions

View file

@ -7,7 +7,7 @@ lib.extra.mkConfig {
enabledServices = [
# INFO: This list needs to stay sorted alphabetically
# "proxmox"
"proxmox"
];
extraConfig = {
@ -20,6 +20,8 @@ lib.extra.mkConfig {
};
services.netbird.enable = true;
users.users.root.hashedPassword = "$y$j9T$KOEV4hLDGyc4q1q8Rj2tE1$7mhZx4bNojsFfXlU2q5B.sRCD.6S1vhu6x2VSGJ79L2";
};
root = ./.;

View file

@ -1,4 +1,4 @@
{ sources, ... }:
{ sources, lib, ... }:
let
proxmox-nixos = import sources.proxmox-nixos;
in
@ -6,4 +6,9 @@ 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 ];
};
}