diff options
author | makefu <github@syntax-fehler.de> | 2016-07-28 13:02:41 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2016-07-28 13:24:36 +0200 |
commit | de10a917de07ef3eb2ba3aed0e97d738975652a9 (patch) | |
tree | 80bb576083b3aa50abb8f798a583d06666380827 | |
parent | 64f0e746992f9ab1395a917f43af09a86add70b6 (diff) |
k 4 types: tinc.extraConfig
-rw-r--r-- | krebs/4lib/types.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/krebs/4lib/types.nix b/krebs/4lib/types.nix index d057cef1d..37d44606b 100644 --- a/krebs/4lib/types.nix +++ b/krebs/4lib/types.nix @@ -134,12 +134,19 @@ types // rec { ++ (map (a: "Subnet = ${a}") net.addrs) ++ + [config.extraConfig] + ++ [config.pubkey] ); }; pubkey = mkOption { type = tinc-pubkey; }; + extraConfig = mkOption { + description = "Extra Configuration to be appended to the hosts file"; + default = ""; + type = string; + }; port = mkOption { type = int; description = "tinc port to use to connect to host"; |