2023-05-19 11:42:43 +02:00
|
|
|
{ ... }:
|
2023-04-12 17:21:24 +02:00
|
|
|
{
|
2023-05-30 13:44:07 +02:00
|
|
|
services.radvd = {
|
|
|
|
enable = true;
|
|
|
|
config = ''
|
|
|
|
interface ens3 {
|
|
|
|
AdvSendAdvert on;
|
|
|
|
prefix 2a01:4f8:c012:49de::/64 {};
|
|
|
|
};
|
|
|
|
'';
|
|
|
|
};
|
2023-04-12 17:21:24 +02:00
|
|
|
networking = {
|
2023-04-12 17:28:41 +02:00
|
|
|
hostName = "falkenstein-1";
|
2023-04-12 17:21:24 +02:00
|
|
|
useNetworkd = true;
|
|
|
|
enableIPv6 = true;
|
|
|
|
};
|
|
|
|
systemd.network = {
|
|
|
|
enable = true;
|
|
|
|
networks."10-loopback" = {
|
|
|
|
matchConfig.Name = "lo";
|
|
|
|
linkConfig.RequiredForOnline = false;
|
|
|
|
};
|
|
|
|
networks."10-wired" = {
|
|
|
|
matchConfig.Name = "ens3";
|
|
|
|
networkConfig = {
|
2023-05-30 13:44:07 +02:00
|
|
|
DHCP = "yes";
|
2023-04-12 20:47:00 +02:00
|
|
|
IPv6AcceptRA = "yes";
|
2023-04-12 17:21:24 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|