2023-08-30 14:25:52 +02:00
|
|
|
{config, ...}: {
|
|
|
|
networking = {
|
|
|
|
inherit (config.secrets.secrets.local.networking) hostId;
|
|
|
|
};
|
|
|
|
systemd.network.networks = {
|
|
|
|
"01-lan1" = {
|
2023-09-01 21:20:32 +02:00
|
|
|
address = ["192.168.178.30/24"];
|
2023-09-01 21:23:10 +02:00
|
|
|
gateway = ["192.168.178.1"];
|
2023-08-30 14:25:52 +02:00
|
|
|
matchConfig.MACAddress = config.secrets.secrets.local.networking.lan1.mac;
|
|
|
|
dns = ["192.168.178.2"];
|
2023-09-01 20:07:03 +02:00
|
|
|
networkConfig = {
|
|
|
|
IPv6PrivacyExtensions = "yes";
|
|
|
|
MulticastDNS = true;
|
|
|
|
};
|
2023-08-30 14:25:52 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|