mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 11:41:34 +01:00
laptop: Fix dns by enabling networkd
This commit is contained in:
parent
f7b10b0442
commit
2b5bc47384
1 changed files with 13 additions and 0 deletions
|
|
@ -40,4 +40,17 @@
|
|||
HibernateDelaySec=2h
|
||||
HibernateOnACPower=yes
|
||||
'';
|
||||
|
||||
networking.useNetworkd = true;
|
||||
systemd.network = {
|
||||
enable = true;
|
||||
networks."10-wlan0" = {
|
||||
matchConfig.Name = "wlan0";
|
||||
linkConfig.RequiredForOnline = "routable";
|
||||
networkConfig = {
|
||||
DHCP = "yes";
|
||||
IgnoreCarrierLoss = "3s";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue