lib/default-gateway.nix: set only when running without systemd-networkd
this would need GatewayOnLink=yes for the route on the interface
This commit is contained in:
parent
d6ca053da1
commit
fca9a7f859
|
@ -0,0 +1,4 @@
|
|||
{ ... }:
|
||||
{
|
||||
c3d2 = { isInHq = true; };
|
||||
}
|
|
@ -1,5 +1,6 @@
|
|||
{ config, pkgs, lib, strings, ... }:
|
||||
|
||||
lib.optional !config.networking.useNetworkd
|
||||
{
|
||||
networking.defaultGateway = "172.22.99.4";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue