mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-26 08:28:31 +02:00
networking stuff
This commit is contained in:
parent
a20844be17
commit
2fe684269a
5 changed files with 10 additions and 4 deletions
|
@ -6,6 +6,7 @@
|
|||
};
|
||||
systemd.network = {
|
||||
enable = true;
|
||||
enableIPv6 = true;
|
||||
networks."10-loopback" = {
|
||||
matchConfig.Name = "lo";
|
||||
linkConfig.RequiredForOnline = false;
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
};
|
||||
networking = { useNetworkd = true;
|
||||
hostName = "thinkpad";
|
||||
enableIPv6 = true;
|
||||
wireless = {
|
||||
enable = true;
|
||||
userControlled.enable = true;
|
||||
|
@ -68,10 +69,13 @@
|
|||
networkConfig = {
|
||||
DHCP = "yes";
|
||||
IgnoreCarrierLoss = "3s";
|
||||
IPv6AcceptRA = "yes";
|
||||
#IPv6PrefixDelegation = "dhcpv6";
|
||||
};
|
||||
dhcpV4Config = {
|
||||
RouteMetric = 20;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
# some wireguard interfaces
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue