change networking of Tytonidae

This commit is contained in:
ulic-youthlic 2025-02-12 17:36:09 +08:00
parent be2dfc28ac
commit 86e7c95179
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721

View file

@ -5,11 +5,25 @@
wait-online.enable = false; wait-online.enable = false;
networks = { networks = {
"eno2" = { "eno2" = {
dns = [
"192.168.31.1"
];
address = [
"192.168.31.25/24"
];
gateway = [
"192.168.31.1"
];
routes = [
{
Gateway = "192.168.31.1";
}
];
matchConfig.Name = "eno2"; matchConfig.Name = "eno2";
networkConfig = { # networkConfig = {
DHCP = "yes"; # DHCP = "no";
IPv6AcceptRA = true; # IPv6AcceptRA = true;
}; # };
}; };
}; };
}; };