machine(Tytonidae): Modify network configuration

This commit is contained in:
ulic-youthlic 2025-07-13 06:04:55 +08:00
parent 4ccf910438
commit d31c5711a3
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721

View file

@ -4,33 +4,19 @@
wait-online.enable = false; wait-online.enable = false;
networks = { networks = {
"10-eno2" = { "10-eno2" = {
dns = [ networkConfig = {
"192.168.31.1" DHCP = "yes";
]; IPv6AcceptRA = true;
address = [ };
"192.168.31.25/24" matchConfig = {
]; Path = "pci-0000:00:1f.6";
# gateway = [ };
# "192.168.31.1"
# ];
routes = [
{
Gateway = "192.168.31.1";
}
];
matchConfig.Name = "eno2";
linkConfig.RequiredForOnline = "routable";
# networkConfig = {
# DHCP = "yes";
# IPv6AcceptRA = true;
# };
}; };
}; };
}; };
networking = { networking = {
networkmanager.enable = false; networkmanager.enable = false;
# useNetworkd = true;
useDHCP = false; useDHCP = false;
nftables = { nftables = {
enable = true; enable = true;