2022-12-04 13:45:43 +00:00
|
|
|
{...}: {
|
2022-11-02 10:24:47 +00:00
|
|
|
systemd.services.systemd-networkd-wait-online.enable = false;
|
|
|
|
|
|
|
|
networking.firewall.enable = true;
|
|
|
|
networking.firewall.allowPing = true;
|
2022-12-04 13:45:43 +00:00
|
|
|
networking.firewall.allowedTCPPorts = [22];
|
2022-11-02 10:24:47 +00:00
|
|
|
|
|
|
|
networking.enableIPv6 = true;
|
|
|
|
networking.usePredictableInterfaceNames = false;
|
|
|
|
networking.dhcpcd.enable = true;
|
|
|
|
systemd.network = {
|
|
|
|
enable = true;
|
|
|
|
networks.eth0 = {
|
|
|
|
name = "eth0";
|
2022-12-04 13:45:43 +00:00
|
|
|
address = ["2a01:4f9:c010:6a89::1/64"];
|
|
|
|
gateway = ["fe80::1"];
|
2022-11-02 10:24:47 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|