machine(Tytonidae): Modify network configuration
This commit is contained in:
parent
4ccf910438
commit
d31c5711a3
1 changed files with 7 additions and 21 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue