k 4 types: tinc.extraConfig
This commit is contained in:
parent
64f0e74699
commit
de10a917de
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue