forked from DGNum/infrastructure
feat(krz01): Proxmox
This commit is contained in:
parent
c6588da802
commit
39f5cad75d
3 changed files with 12 additions and 5 deletions
|
@ -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 = ./.;
|
||||||
|
|
|
@ -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 ];
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue