wynne: replace network manager with networkd

This commit is contained in:
Adithya 2024-07-05 00:31:26 +05:30
parent 2aeb5d9308
commit d47b5567a0
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C

View file

@ -7,14 +7,32 @@
"2620:fe::9#dns.quad9.net"
"149.112.112.112#dns.quad9.net"
];
networkmanager = {
enable = true;
dhcp = "dhcpcd";
dns = "systemd-resolved";
};
useDHCP = lib.mkDefault false;
useNetworkd = true;
};
systemd.network = {
enable = true;
networks = {
"41-ether" = {
enable = true;
matchConfig = {
Type = "ether";
};
networkConfig = {
DHCP = "yes";
};
dhcpV4Config = {
UseDomains = true;
};
ipv6AcceptRAConfig = {
UseDomains = true;
};
linkConfig = {
RequiredForOnline = "yes";
};
};
};
};
services.resolved = {