21 lines
371 B
Nix
21 lines
371 B
Nix
|
{ config, lib, ... }: {
|
||
|
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"; }
|
||
|
];
|
||
|
};
|
||
|
}
|