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
commitb2f87082c1427de695db18a80dd2407cb9a08f0d (patch)
tree262bcf52f20a9fef1a46b2d94f3411c7c68f119b
parent17e614cb002052db9949de4b67e9766811d1de24 (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 b6c266c33..318e2f237 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 = ''