From 5c67c47fe2614429f7226e9969f7aa007d14aca6 Mon Sep 17 00:00:00 2001 From: lassulus Date: Fri, 22 Mar 2019 07:56:13 +0100 Subject: types host: add syncthing.id --- lib/types.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/types.nix') diff --git a/lib/types.nix b/lib/types.nix index 45c0098..9001bc7 100644 --- a/lib/types.nix +++ b/lib/types.nix @@ -86,6 +86,12 @@ rec { type = nullOr ssh-privkey; default = null; }; + + syncthing.id = mkOption { + # TODO syncthing id type + type = nullOr string; + default = null; + }; }; }); -- cgit v1.2.3 From f0c85f305f662b96033dbbe896e399e5a58a28dd Mon Sep 17 00:00:00 2001 From: lassulus Date: Sat, 13 Apr 2019 14:06:36 +0200 Subject: types.syncthing.id: string -> str --- lib/types.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/types.nix') diff --git a/lib/types.nix b/lib/types.nix index 9001bc7..23919af 100644 --- a/lib/types.nix +++ b/lib/types.nix @@ -89,7 +89,7 @@ rec { syncthing.id = mkOption { # TODO syncthing id type - type = nullOr string; + type = nullOr str; default = null; }; }; -- cgit v1.2.3