agares: do not require some links to be online

This commit is contained in:
Tim Schubert 2024-05-09 13:12:09 +02:00
parent 8de153467a
commit 7af31af847
Signed by: dadada
SSH key fingerprint: SHA256:bFAjFH3hR8zRBaJjzQDjc3o4jqoq5EZ87l+KXEjxIz0

View file

@ -115,7 +115,7 @@ in
EmitDomains = true; # takes search domains from the [Network] EmitDomains = true; # takes search domains from the [Network]
}; };
linkConfig = { linkConfig = {
RequiredForOnline = "no"; RequiredForOnline = false;
}; };
networkConfig = { networkConfig = {
Domains = domain; Domains = domain;
@ -204,6 +204,9 @@ in
FlowIsolationMode = triple FlowIsolationMode = triple
RTT = internet RTT = internet
''; '';
linkConfig = {
RequiredForOnline = false;
};
}; };
"30-ppp0" = { "30-ppp0" = {
@ -245,7 +248,7 @@ in
"enp2s0" = { "enp2s0" = {
name = "enp2s0"; name = "enp2s0";
linkConfig = { linkConfig = {
RequiredForOnline = "no"; RequiredForOnline = false;
}; };
networkConfig = { networkConfig = {
Address = "192.168.1.254/24"; Address = "192.168.1.254/24";
@ -260,7 +263,7 @@ in
]; ];
DHCP = "no"; DHCP = "no";
networkConfig.IPv6AcceptRA = false; networkConfig.IPv6AcceptRA = false;
linkConfig.RequiredForOnline = "no"; linkConfig.RequiredForOnline = false;
routes = [ routes = [
{ {
routeConfig = { Destination = "${ipv4Prefix}.120.1/24"; }; routeConfig = { Destination = "${ipv4Prefix}.120.1/24"; };