mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-25 16:08:30 +02:00
networking stuff
This commit is contained in:
parent
a20844be17
commit
2fe684269a
5 changed files with 10 additions and 4 deletions
|
@ -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