pek0: use networkd

This commit is contained in:
Guanran Wang 2025-01-05 02:36:46 +08:00
parent 957dc920a4
commit 65c01b7383
Signed by: nyancat
GPG key ID: 91F97D9ED12639CF

View file

@ -57,6 +57,19 @@
};
};
networking = {
useNetworkd = true;
useDHCP = false;
};
systemd.network.networks.ethernet = {
matchConfig.Name = [
"en*"
"eth*"
];
DHCP = "yes";
};
services.tailscale = {
enable = true;
openFirewall = true;