System: Disable IPv6 again
Some weird IPv6 issue causes slowdowns in my network configuration, can't find it, so disable it
This commit is contained in:
@ -68,7 +68,7 @@ in {
|
|||||||
networking = {
|
networking = {
|
||||||
# Gets inherited from flake in nixos mylib and passed through the module option
|
# Gets inherited from flake in nixos mylib and passed through the module option
|
||||||
hostName = cfg.hostname; # Define your hostname.
|
hostName = cfg.hostname; # Define your hostname.
|
||||||
enableIPv6 = true;
|
enableIPv6 = false;
|
||||||
|
|
||||||
# Disable a lot of stuff not needed for systemd-networkd
|
# Disable a lot of stuff not needed for systemd-networkd
|
||||||
networkmanager.enable = false;
|
networkmanager.enable = false;
|
||||||
|
@ -16,16 +16,16 @@
|
|||||||
# This should override the default network 50-ether
|
# This should override the default network 50-ether
|
||||||
"10-ether-2_5G" = mylib.networking.mkStaticSystemdNetwork {
|
"10-ether-2_5G" = mylib.networking.mkStaticSystemdNetwork {
|
||||||
interface = "enp8s0";
|
interface = "enp8s0";
|
||||||
ips = ["192.168.86.50/24" "fd00::32/120"];
|
ips = ["192.168.86.50/24"];
|
||||||
routers = ["192.168.86.5" "fd00::5"];
|
routers = ["192.168.86.5"];
|
||||||
nameservers = ["192.168.86.26" "fd00::1a"];
|
nameservers = ["192.168.86.26"];
|
||||||
routable = true;
|
routable = true;
|
||||||
};
|
};
|
||||||
"10-ether-1G" = mylib.networking.mkStaticSystemdNetwork {
|
"10-ether-1G" = mylib.networking.mkStaticSystemdNetwork {
|
||||||
interface = "enp5s0";
|
interface = "enp5s0";
|
||||||
ips = ["192.168.86.50/24" "fd00::32/120"];
|
ips = ["192.168.86.50/24"];
|
||||||
routers = ["192.168.86.5" "fd00::5"];
|
routers = ["192.168.86.5"];
|
||||||
nameservers = ["192.168.86.26" "fd00::1a"];
|
nameservers = ["192.168.86.26"];
|
||||||
routable = false;
|
routable = false;
|
||||||
};
|
};
|
||||||
# "10-ether-1G" = mylib.networking.mkStaticSystemdNetwork {...};
|
# "10-ether-1G" = mylib.networking.mkStaticSystemdNetwork {...};
|
||||||
|
Reference in New Issue
Block a user