mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-01-01 17:06:33 +01:00
more hetzner impreovments
This commit is contained in:
parent
c6044ef7a3
commit
833c173aff
1 changed files with 17 additions and 2 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue