nixfiles/config/profiles/kartoffel.nix
2024-02-05 22:22:40 +01:00

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"; }
];
};
}