From 20afe7b9aeb5d523e10a0d5c597b8c1656bca58e Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 16 Mar 2016 02:04:22 +0100 Subject: krebs types += tinc-pubkey --- krebs/4lib/types.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/krebs/4lib/types.nix b/krebs/4lib/types.nix index 112984445..32d1daf9d 100644 --- a/krebs/4lib/types.nix +++ b/krebs/4lib/types.nix @@ -111,7 +111,7 @@ types // rec { ); }; pubkey = mkOption { - type = str; + type = tinc-pubkey; }; }; })); @@ -214,6 +214,8 @@ types // rec { }; }; + tinc-pubkey = str; + krebs.file-location = types.submodule { options = { # TODO user -- cgit v1.2.3