nixos: integrate functions made by j00lz

see: 953ffb8d86/flake.nix
This commit is contained in:
Vivian 2021-11-21 15:50:29 +01:00
parent 738c8c0faa
commit edb8410349
2 changed files with 80 additions and 34 deletions

35
nixos/hosts.nix Normal file
View file

@ -0,0 +1,35 @@
[
{
hostname = "bastion";
ip = "10.42.42.4";
mac = "82:F0:7C:CB:BD:6D";
lxc = false;
}
{
hostname = "k3s-node1";
nixname = "k3s";
ip = "10.42.42.10";
mac = "2E:F8:55:23:D9:9B";
lxc = false;
}
{
hostname = "vault";
ip = "10.42.42.6";
mac = "16:2B:87:55:0C:0C";
}
{
hostname = "mosquitto";
ip = "10.42.42.7";
mac = "16:2B:87:55:0C:0C";
}
{
hostname = "nginx";
ip = "10.42.42.9";
mac = "16:2B:87:55:0C:0C";
}
{
hostname = "consul";
ip = "10.42.42.14";
mac = "16:2B:87:55:0C:0C";
}
]