add new host, add technitium module
This commit is contained in:
parent
f8312a9447
commit
9aab11df18
5 changed files with 260 additions and 36 deletions
28
systems/x86_64-linux/dns-1/networking.nix
Normal file
28
systems/x86_64-linux/dns-1/networking.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
networking = {
|
||||
hostName = "dns-1";
|
||||
firewall.enable = false;
|
||||
networkmanager.enable = false;
|
||||
dhcpcd.enable = false;
|
||||
nameservers = [
|
||||
"1.1.1.1"
|
||||
"8.8.8.8"
|
||||
];
|
||||
defaultGateway.address = "192.168.5.1";
|
||||
interfaces.ens18 = {
|
||||
ipv4.addresses = [
|
||||
{
|
||||
address = "192.168.5.100";
|
||||
prefixLength = 24;
|
||||
}
|
||||
];
|
||||
ipv6.addresses = [
|
||||
{
|
||||
address = "fd00:192:168:5::100";
|
||||
prefixLength = 64;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue