nixos-config/machines/massicot/networking.nix

20 lines
333 B
Nix
Raw Normal View History

2024-08-25 09:45:58 +00:00
{ pkgs, ... }:
{
2023-07-29 17:53:14 +00:00
networking = {
interfaces = {
2023-09-11 12:20:32 +00:00
eth0.useDHCP = true;
2024-08-25 09:45:58 +00:00
eth0.ipv6.addresses = [
{
address = "2a01:4f8:c17:345f::1";
prefixLength = 64;
}
];
2023-07-29 17:53:14 +00:00
};
defaultGateway6 = {
address = "fe80::1";
interface = "eth0";
};
2023-09-11 12:20:32 +00:00
nameservers = [ ];
2023-07-29 15:34:24 +00:00
};
2023-09-11 12:20:32 +00:00
}