feat(krz01): Proxmox
All checks were successful
build configuration / build_web02 (push) Successful in 1m8s
build configuration / build_vault01 (push) Successful in 1m12s
build configuration / build_compute01 (push) Successful in 1m20s
build configuration / build_web01 (push) Successful in 1m41s
lint / check (push) Successful in 29s
build configuration / build_bridge01 (push) Successful in 1m4s
build configuration / build_geo02 (push) Successful in 1m9s
build configuration / build_geo01 (push) Successful in 1m16s
build configuration / push_to_cache_web02 (push) Successful in 1m14s
build configuration / build_rescue01 (push) Successful in 3m31s
build configuration / build_storage01 (push) Successful in 3m48s
build configuration / push_to_cache_vault01 (push) Successful in 1m29s
build configuration / push_to_cache_compute01 (push) Successful in 1m47s
build configuration / push_to_cache_web01 (push) Successful in 1m54s
build configuration / push_to_cache_bridge01 (push) Successful in 1m11s
build configuration / push_to_cache_geo02 (push) Successful in 1m6s
build configuration / push_to_cache_geo01 (push) Successful in 1m7s
build configuration / push_to_cache_rescue01 (push) Successful in 1m16s
build configuration / push_to_cache_storage01 (push) Successful in 1m17s

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

View file

@ -1,4 +1,4 @@
{ sources, ... }: { sources, lib, ... }:
let let
proxmox-nixos = import sources.proxmox-nixos; proxmox-nixos = import sources.proxmox-nixos;
in in
@ -6,4 +6,9 @@ in
imports = [ proxmox-nixos.nixosModules.proxmox-ve ]; imports = [ proxmox-nixos.nixosModules.proxmox-ve ];
services.proxmox-ve.enable = true; services.proxmox-ve.enable = true;
nixpkgs.overlays = [ proxmox-nixos.overlays.x86_64-linux ]; 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" "repo": "proxmox-nixos"
}, },
"branch": "main", "branch": "main",
"revision": "53f9cd6ad81f1bf36b257470d82e77e0629578c8", "revision": "7869ffc2e0db36f314fb60f1ab0087b760700b00",
"url": "https://github.com/SaumonNet/proxmox-nixos/archive/53f9cd6ad81f1bf36b257470d82e77e0629578c8.tar.gz", "url": "https://github.com/SaumonNet/proxmox-nixos/archive/7869ffc2e0db36f314fb60f1ab0087b760700b00.tar.gz",
"hash": "1nirb5k029bphflifks1kc1qdmvdw88x492dfy9ma4yldsiqrgyi" "hash": "0cam36s3ar366y41rvihjqghkdjl9a1n1wzym8p2mkar1r9x7haj"
}, },
"signal-irc-bridge": { "signal-irc-bridge": {
"type": "Git", "type": "Git",