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;
|
||||
networks = {
|
||||
"10-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";
|
||||
linkConfig.RequiredForOnline = "routable";
|
||||
# networkConfig = {
|
||||
# DHCP = "yes";
|
||||
# IPv6AcceptRA = true;
|
||||
# };
|
||||
networkConfig = {
|
||||
DHCP = "yes";
|
||||
IPv6AcceptRA = true;
|
||||
};
|
||||
matchConfig = {
|
||||
Path = "pci-0000:00:1f.6";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
networking = {
|
||||
networkmanager.enable = false;
|
||||
# useNetworkd = true;
|
||||
useDHCP = false;
|
||||
nftables = {
|
||||
enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue