refactor folder structure
This commit is contained in:
parent
da669efee2
commit
df50e70f3e
175 changed files with 7 additions and 3760 deletions
|
|
@ -1,58 +0,0 @@
|
|||
{ ... }: {
|
||||
networking = {
|
||||
vlans = {
|
||||
setup = {
|
||||
id = 110;
|
||||
interface = "enp5s0";
|
||||
};
|
||||
};
|
||||
|
||||
interfaces = {
|
||||
setup = {
|
||||
ipv4.addresses = [{
|
||||
address = "10.42.110.1";
|
||||
prefixLength = 24;
|
||||
}];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
services.kea.dhcp4 = {
|
||||
settings = {
|
||||
interfaces-config = {
|
||||
interfaces = [
|
||||
"setup"
|
||||
];
|
||||
};
|
||||
subnet4 = [
|
||||
{
|
||||
pools = [
|
||||
{
|
||||
pool = "10.42.110.100 - 10.42.110.240";
|
||||
}
|
||||
];
|
||||
subnet = "10.42.110.0/24";
|
||||
interface = "setup";
|
||||
option-data = [
|
||||
{
|
||||
name = "routers";
|
||||
data = "10.42.110.1";
|
||||
}
|
||||
{
|
||||
name = "domain-name";
|
||||
data = "cloonar.com";
|
||||
}
|
||||
{
|
||||
name = "domain-search";
|
||||
data = "cloonar.com";
|
||||
}
|
||||
{
|
||||
name = "domain-name-servers";
|
||||
data = "10.42.97.1";
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue