mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 16:55:00 +01:00
hosts
This commit is contained in:
parent
72e79f9cc3
commit
8e37024787
2 changed files with 11 additions and 2 deletions
|
|
@ -116,6 +116,7 @@
|
||||||
imports = [
|
imports = [
|
||||||
(modulesPath + "/profiles/qemu-guest.nix")
|
(modulesPath + "/profiles/qemu-guest.nix")
|
||||||
./modules/contabo
|
./modules/contabo
|
||||||
|
./modules/wg-mesh
|
||||||
./modules/ingress
|
./modules/ingress
|
||||||
./modules/minio
|
./modules/minio
|
||||||
./modules/widetom
|
./modules/widetom
|
||||||
|
|
@ -124,7 +125,7 @@
|
||||||
age.secrets.docker_registry_password.file = ./secrets/docker_registry_password.age;
|
age.secrets.docker_registry_password.file = ./secrets/docker_registry_password.age;
|
||||||
|
|
||||||
networking.hostName = name;
|
networking.hostName = name;
|
||||||
deployment.tags = [ "ingress" "eu" "apps" ];
|
deployment.tags = [ "ingress" "eu" "apps" "wg" ];
|
||||||
system.stateVersion = "23.11";
|
system.stateVersion = "23.11";
|
||||||
|
|
||||||
# TODO: move
|
# TODO: move
|
||||||
|
|
@ -151,12 +152,13 @@
|
||||||
imports = [
|
imports = [
|
||||||
(modulesPath + "/profiles/qemu-guest.nix")
|
(modulesPath + "/profiles/qemu-guest.nix")
|
||||||
./modules/contabo
|
./modules/contabo
|
||||||
|
./modules/wg-mesh
|
||||||
./modules/ingress
|
./modules/ingress
|
||||||
./modules/minio
|
./modules/minio
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.hostName = name;
|
networking.hostName = name;
|
||||||
deployment.tags = [ "ingress" "eu" "apps" ];
|
deployment.tags = [ "ingress" "eu" "apps" "wg" ];
|
||||||
system.stateVersion = "23.11";
|
system.stateVersion = "23.11";
|
||||||
|
|
||||||
# TODO: move
|
# TODO: move
|
||||||
|
|
|
||||||
7
newinfra/nix/modules/wg-mesh/default.nix
Normal file
7
newinfra/nix/modules/wg-mesh/default.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
{ ... }: {
|
||||||
|
# TODO: put the actual setup here.
|
||||||
|
networking.hosts = {
|
||||||
|
"10.0.0.1" = [ "vps1.local" ];
|
||||||
|
"10.0.0.3" = [ "vps3.local" ];
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue