more hetzner impreovments

This commit is contained in:
Johannes Jöns 2024-01-18 22:50:10 +01:00
parent c6044ef7a3
commit 833c173aff

View file

@ -22,8 +22,23 @@
};
networking = {
wireless.enable = lib.mkForce false;
networking.usePredictableInterfaceNames = false;
networking.dhcpcd.enable = false;
systemd.network = {
enable = true;
networks."eth0" = {
extraConfig = ''
[Match]
Name = eth0
[Network]
# Add your own assigned ipv6 subnet here here!
Address = 2a01:4f8:a0:31e5::/64
Gateway = fe80::1
# optionally you can do the same for ipv4 and disable DHCP (networking.dhcpcd.enable = false;)
Address = 85.10.200.204
Gateway = 85.10.200.193
'';
};
};
time.timeZone = "Europe/Berlin";