summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2021-12-28 16:37:54 +0100
committerlassulus <lassulus@lassul.us>2021-12-28 16:37:54 +0100
commit8e7b59055bd57b63ec4ac405a5d75ddeea581c01 (patch)
tree9f43ff83ae3a303e4d9b707434339d43f0394ae2
parentefb2ec959e9b530627798e7c77171c272898058a (diff)
types net tinc: include pubkey_ed25519
-rw-r--r--lib/types.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/types.nix b/lib/types.nix
index b6c266c..318e2f2 100644
--- a/lib/types.nix
+++ b/lib/types.nix
@@ -188,6 +188,10 @@ rec {
++
[config.pubkey]
++
+ optional (config.pubkey_ed25519 != null) ''
+ Ed25519PublicKey = ${config.pubkey_ed25519}
+ ''
+ ++
optional (config.weight != null) "Weight = ${toString config.weight}"
);
defaultText = ''