mirror of
https://github.com/Noratrieb/vps.git
synced 2026-07-12 08:17:45 +02:00
minipc
This commit is contained in:
parent
131a282338
commit
9dd5ae6698
44 changed files with 353 additions and 79 deletions
25
nix/hive.nix
25
nix/hive.nix
|
|
@ -66,7 +66,7 @@
|
|||
wg = {
|
||||
privateIP = "10.0.0.3";
|
||||
publicKey = "pdUxG1vhmYraKzIIEFxTRAMhGwGztBL/Ly5icJUV3g0=";
|
||||
peers = [ "vps1" "vps2" "vps4" "vps5" "dns1" "dns2" ];
|
||||
peers = [ "vps1" "vps2" "vps4" "vps5" "dns1" "dns2" "minipc" ];
|
||||
};
|
||||
tags = [ "apps" ];
|
||||
};
|
||||
|
|
@ -92,6 +92,17 @@
|
|||
};
|
||||
tags = [ "apps" ];
|
||||
};
|
||||
minipc = {
|
||||
publicIPv4 = null;
|
||||
publicIPv6 = null;
|
||||
wg = {
|
||||
privateIP = "10.0.2.1";
|
||||
publicKey = "ecYfTot7RrJyNebSZTQ1wciOhvrpNSSbkR15twpSSl4=";
|
||||
peers = [ "vps3" ];
|
||||
noEndpoint = true;
|
||||
};
|
||||
tags = [ "home" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
@ -300,4 +311,16 @@
|
|||
|
||||
system.stateVersion = "23.11";
|
||||
};
|
||||
minipc = { name, nodes, modulesPath, config, pkgs, lib, ... }: {
|
||||
imports = [
|
||||
./modules/minipc
|
||||
./modules/wg-mesh
|
||||
./modules/nas-mount
|
||||
./modules/postgres
|
||||
./modules/immich
|
||||
./modules/tailscale
|
||||
];
|
||||
|
||||
system.stateVersion = "25.05";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue