20 lines
489 B
Nix
20 lines
489 B
Nix
{...}: {
|
|
systemd.services.systemd-networkd-wait-online.enable = false;
|
|
|
|
networking.firewall.enable = true;
|
|
networking.firewall.allowPing = true;
|
|
networking.firewall.allowedTCPPorts = [22];
|
|
|
|
networking.enableIPv6 = true;
|
|
networking.usePredictableInterfaceNames = false;
|
|
networking.dhcpcd.enable = true;
|
|
systemd.network = {
|
|
enable = true;
|
|
networks.eth0 = {
|
|
name = "eth0";
|
|
address = ["2a01:4f9:c010:8beb::1/64"];
|
|
gateway = ["fe80::1"];
|
|
};
|
|
};
|
|
}
|