summaryrefslogtreecommitdiffstats
path: root/lib/types.nix
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
commit6b248db017a4172f12a48d7cd253414f354d5bd9 (patch)
treead18c6858bc6e94a31a703034384cebdf2740d1d /lib/types.nix
parent69c052b7d354c60d71b8f0150022ad4840032de6 (diff)
krebs.tinc: add support for ED25519 keys
Diffstat (limited to 'lib/types.nix')
-rw-r--r--lib/types.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/types.nix b/lib/types.nix
index 1eb4d947c..3eda2262f 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 = "";