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