summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2020-09-05 01:17:51 +0200
committertv <tv@krebsco.de>2020-09-05 01:17:51 +0200
commit49128d3e16be054f1f4e6beebfb83fafad19641c (patch)
treeab7a9b42cb4f5bdf2c308b02af602c602367c0ef /lib
parentf7b966a5eb50088464674c05874bdf61f51e2afa (diff)
krebs.tinc: add support for ED25519 keys
Diffstat (limited to 'lib')
-rw-r--r--lib/types.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/types.nix b/lib/types.nix
index 1eb4d94..3eda226 100644
--- a/lib/types.nix
+++ b/lib/types.nix
@@ -179,6 +179,10 @@ rec {
pubkey = mkOption {
type = tinc-pubkey;
};
+ pubkey_ed25519 = mkOption {
+ type = nullOr tinc-pubkey;
+ default = null;
+ };
extraConfig = mkOption {
description = "Extra Configuration to be appended to the hosts file";
default = "";