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

View file

@ -276,9 +276,9 @@
"repo": "proxmox-nixos"
},
"branch": "main",
"revision": "53f9cd6ad81f1bf36b257470d82e77e0629578c8",
"url": "https://github.com/SaumonNet/proxmox-nixos/archive/53f9cd6ad81f1bf36b257470d82e77e0629578c8.tar.gz",
"hash": "1nirb5k029bphflifks1kc1qdmvdw88x492dfy9ma4yldsiqrgyi"
"revision": "7869ffc2e0db36f314fb60f1ab0087b760700b00",
"url": "https://github.com/SaumonNet/proxmox-nixos/archive/7869ffc2e0db36f314fb60f1ab0087b760700b00.tar.gz",
"hash": "0cam36s3ar366y41rvihjqghkdjl9a1n1wzym8p2mkar1r9x7haj"
},
"signal-irc-bridge": {
"type": "Git",