forked from emily/nixfiles
20 lines
358 B
Nix
20 lines
358 B
Nix
{ ... }: {
|
|
services.resolved = {
|
|
extraConfig = ''
|
|
DNS = [2a0f:be01::1]
|
|
'';
|
|
};
|
|
|
|
systemd.network.networks."98-eth-default" = {
|
|
matchConfig.Type = "ether";
|
|
matchConfig.Name = "e*";
|
|
|
|
networkConfig = {
|
|
DHCP = "ipv4";
|
|
IPv6AcceptRA = false;
|
|
};
|
|
routes = [
|
|
{ routeConfig.Gateway = "fe80::1"; }
|
|
];
|
|
};
|
|
}
|