ifrit: use networkd and resolved
This commit is contained in:
parent
2815526b1a
commit
7858aa030b
1 changed files with 12 additions and 2 deletions
|
@ -31,8 +31,18 @@ in
|
||||||
# weird issues with crappy plastic router
|
# weird issues with crappy plastic router
|
||||||
networking.interfaces."ens3".tempAddress = "disabled";
|
networking.interfaces."ens3".tempAddress = "disabled";
|
||||||
|
|
||||||
networking.useDHCP = false;
|
services.resolved.enable = true;
|
||||||
networking.interfaces.ens3.useDHCP = true;
|
|
||||||
|
systemd.network = {
|
||||||
|
enable = true;
|
||||||
|
networks = {
|
||||||
|
"10-lan" = {
|
||||||
|
matchConfig.Name = "ens*";
|
||||||
|
networkConfig.DHCP = "ipv4";
|
||||||
|
linkConfig.RequiredForOnline = "routable";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
boot.kernelParams = [
|
boot.kernelParams = [
|
||||||
"console=ttyS0,115200"
|
"console=ttyS0,115200"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue