diff options
author | jeschli <jeschli@gmail.com> | 2019-04-02 19:38:35 +0200 |
---|---|---|
committer | jeschli <jeschli@gmail.com> | 2019-04-02 19:38:35 +0200 |
commit | 4a9901de707ec078fbd5934598a15348118f035a (patch) | |
tree | 324625c64b0ff5b0d3ad399fef117199c4e94b34 /lib/types.nix | |
parent | ac7dded34732cca2a23a4b03c70f29e08f243412 (diff) | |
parent | 5c67c47fe2614429f7226e9969f7aa007d14aca6 (diff) |
:Merge branch 'master' of prism.r:stockholm
Diffstat (limited to 'lib/types.nix')
-rw-r--r-- | lib/types.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/types.nix b/lib/types.nix index 17c1688..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; + }; }; }); @@ -539,7 +545,7 @@ rec { # POSIX.1‐2013, 3.278 Portable Filename Character Set filename = mkOptionType { name = "POSIX filename"; - check = test "([0-9A-Za-z._])[0-9A-Za-z._-]*"; + check = test "[0-9A-Za-z._][0-9A-Za-z._-]*"; merge = mergeOneOption; }; |