mirror of
https://github.com/Mic92/nixos-wiki-infra.git
synced 2024-11-22 08:14:06 +01:00
remove deprecated networkd configuration
This commit is contained in:
parent
b7fef32216
commit
5e671e2025
@ -44,13 +44,11 @@ in
|
||||
];
|
||||
routes = [
|
||||
# create default routes for both IPv6 and IPv4
|
||||
{ routeConfig.Gateway = "fe80::1"; }
|
||||
{ Gateway = "fe80::1"; }
|
||||
# or when the gateway is not on the same network
|
||||
{
|
||||
routeConfig = {
|
||||
Gateway = "172.31.1.1";
|
||||
GatewayOnLink = true;
|
||||
};
|
||||
Gateway = "172.31.1.1";
|
||||
GatewayOnLink = true;
|
||||
}
|
||||
];
|
||||
# make the routes on this interface a dependency for network-online.target
|
||||
|
Loading…
Reference in New Issue
Block a user