1
0

Apply router interfaces

This commit is contained in:
clerie 2022-07-13 19:13:35 +02:00
parent 527c55ba6b
commit ed7db374c5

View File

@ -5,6 +5,21 @@
[ [
./hardware-configuration.nix ./hardware-configuration.nix
./42-net-management.nix
./101-net-uplink-a.nix
./102-net-uplink-b.nix
./151-net-technik-iot.nix
./201-net-ikt.nix
./202-net-technik.nix
./203-net-hospital.nix
./204-net-zoll.nix
./205-net-leitstelle.nix
./206-net-verwaltung.nix
./208-net-yolo.nix
./209-net-infojurte.nix
./210-net-internation.nix
./211-net-programmtre.nix
./212-net-open-office.nix
./net-services.nix ./net-services.nix
]; ];
@ -20,6 +35,33 @@
networking.nameservers = [ "10.42.10.1" "2a01:4f8:1c0c:8221::1" ]; networking.nameservers = [ "10.42.10.1" "2a01:4f8:1c0c:8221::1" ];
services.radvd.enable = true;
services.kea.dhcp4 = {
enable = true;
settings = {
interfaces-config = {
interfaces = [];
};
lease-database = {
name = "/var/lib/kea/dhcp4.leases";
persist = true;
type = "memfile";
};
option-data = [
{
name = "domain-name-servers";
data = "10.42.10.8";
}
{
name = "domain-name";
data = "bula22.de";
}
];
subnet4 = [];
};
};
# This value determines the NixOS release from which the default # This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions # settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave # on your system were taken. Its perfectly fine and recommended to leave