networking.greTunnels: Add ttl option

This commit is contained in:
jpathy
2022-03-22 20:24:25 +05:30
committed by Jiten Kumar Pathy
parent 29a988f978
commit 19bb72c070
4 changed files with 27 additions and 0 deletions

View File

@@ -318,6 +318,8 @@ in
Remote = gre.remote;
}) // (optionalAttrs (gre.local != null) {
Local = gre.local;
}) // (optionalAttrs (gre.ttl != null) {
TTL = gre.ttl;
});
};
networks = mkIf (gre.dev != null) {