Update addressing lib to remove making the hosts list optional.
This commit is contained in:
parent
e5326f0af6
commit
1b23a16e9f
2 changed files with 50 additions and 53 deletions
51
meta.nix
51
meta.nix
|
|
@ -84,6 +84,11 @@
|
|||
main = {
|
||||
vlan = 10;
|
||||
|
||||
dhcp = {
|
||||
start = 1;
|
||||
end = 1;
|
||||
};
|
||||
|
||||
hosts = {
|
||||
europa = {
|
||||
role = "router";
|
||||
|
|
@ -131,40 +136,21 @@
|
|||
role = "phone";
|
||||
hw-address = "80:5e:c0:de:3d:66";
|
||||
};
|
||||
|
||||
home-main-dhcp-start = {
|
||||
role = "pool";
|
||||
hostId = 1;
|
||||
dns = false;
|
||||
};
|
||||
|
||||
home-main-dhcp-end = {
|
||||
role = "pool";
|
||||
hostId = 250;
|
||||
dns = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
guest = {
|
||||
vlan = 20;
|
||||
|
||||
dhcp = {
|
||||
start = 1;
|
||||
end = 250;
|
||||
};
|
||||
|
||||
hosts = {
|
||||
europa-guest = {
|
||||
role = "router";
|
||||
};
|
||||
|
||||
home-guest-dhcp-start = {
|
||||
role = "pool";
|
||||
hostId = 1;
|
||||
dns = false;
|
||||
};
|
||||
|
||||
home-guest-dhcp-end = {
|
||||
role = "pool";
|
||||
hostId = 250;
|
||||
dns = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
@ -223,6 +209,11 @@
|
|||
storage = {
|
||||
vlan = 40;
|
||||
|
||||
dhcp = {
|
||||
start = 1;
|
||||
end = 250;
|
||||
};
|
||||
|
||||
hosts = {
|
||||
europa-storage = {
|
||||
role = "router";
|
||||
|
|
@ -232,18 +223,6 @@
|
|||
role = "nas";
|
||||
aliases = [ "storage.kasear.net" ];
|
||||
};
|
||||
|
||||
home-storage-dhcp-start = {
|
||||
role = "pool";
|
||||
hostId = 1;
|
||||
dns = false;
|
||||
};
|
||||
|
||||
home-storage-dhcp-end = {
|
||||
role = "pool";
|
||||
hostId = 250;
|
||||
dns = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue