0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

nixos/network-interfaces: add networking.interfaces.<name>.ipv[46].routes.type

This commit is contained in:
Alexandru Scvortov 2022-06-02 19:16:25 +01:00
parent 42cfcd1d78
commit 3a09010b9d
4 changed files with 47 additions and 6 deletions

View file

@ -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;
} //