nixos/network-interfaces: add networking.interfaces.<name>.ipv[46].routes.type
This commit is contained in:
@@ -142,6 +142,9 @@ in
|
||||
optionalAttrs (route.via != null) {
|
||||
Gateway = route.via;
|
||||
} //
|
||||
optionalAttrs (route.type != null) {
|
||||
Type = route.type;
|
||||
} //
|
||||
optionalAttrs (route.options ? onlink) {
|
||||
GatewayOnLink = true;
|
||||
} //
|
||||
|
||||
Reference in New Issue
Block a user