feat(infra): init rescue01

This commit is contained in:
Julien Malka 2024-02-21 01:44:48 +01:00 committed by thubrecht
parent 817c723135
commit bdc5cbc197
6 changed files with 97 additions and 0 deletions

View file

@ -14,6 +14,9 @@
"vault01"
];
# Luj's infra
par03 = [ "rescue01" ];
# VMs du SPI/NPS/Whatever
dmi01 = [
"web01"

View file

@ -188,4 +188,25 @@ builtins.mapAttrs mkNet {
hostId = "b431ca10";
};
rescue01 = {
interfaces = {
ens18 = {
ipv6 = [
{
address = "2a01:e0a:de4:a0e1:2d73:2a7e:18db:5728";
prefixLength = 64;
}
];
ipv4 = [
{
address = "192.168.0.232";
prefixLength = 21;
}
];
gateways = [ "192.168.0.1" ];
};
};
hostId = "007f0200";
};
}

View file

@ -62,4 +62,8 @@ builtins.mapAttrs mkNode {
stateVersion = "24.05";
nixpkgs = "unstable";
};
rescue01 = {
stateVersion = "23.11";
};
}