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:
parent
42cfcd1d78
commit
3a09010b9d
4 changed files with 47 additions and 6 deletions
|
@ -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;
|
||||
} //
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue