about summary refs log tree commit diff
path: root/nixos/modules/services/networking/btsync.nix
diff options
context:
space:
mode:
authorAustin Seipp <aseipp@pobox.com>2014-05-01 17:00:49 -0500
committerAustin Seipp <aseipp@pobox.com>2014-05-01 17:00:49 -0500
commit8946e91fad9b49078d161fe3c4a1084f437784d8 (patch)
treed0bb998cc448e50300fe2ea5354d97d8b872f3c0 /nixos/modules/services/networking/btsync.nix
parent303ddfab4c7d2bd0180a413413289548fe1c5c24 (diff)
downloadnixlib-8946e91fad9b49078d161fe3c4a1084f437784d8.tar
nixlib-8946e91fad9b49078d161fe3c4a1084f437784d8.tar.gz
nixlib-8946e91fad9b49078d161fe3c4a1084f437784d8.tar.bz2
nixlib-8946e91fad9b49078d161fe3c4a1084f437784d8.tar.lz
nixlib-8946e91fad9b49078d161fe3c4a1084f437784d8.tar.xz
nixlib-8946e91fad9b49078d161fe3c4a1084f437784d8.tar.zst
nixlib-8946e91fad9b49078d161fe3c4a1084f437784d8.zip
btsync: remove unneeded assertion
Signed-off-by: Austin Seipp <aseipp@pobox.com>
Diffstat (limited to 'nixos/modules/services/networking/btsync.nix')
-rw-r--r--nixos/modules/services/networking/btsync.nix6
1 files changed, 0 insertions, 6 deletions
diff --git a/nixos/modules/services/networking/btsync.nix b/nixos/modules/services/networking/btsync.nix
index 8b288a713c60..898aed825913 100644
--- a/nixos/modules/services/networking/btsync.nix
+++ b/nixos/modules/services/networking/btsync.nix
@@ -237,12 +237,6 @@ in
         { assertion = cfg.apiKey != "" -> cfg.enableWebUI;
           message   = "If you're using an API key, you must enable the web server.";
         }
-        # TODO FIXME: the README says not specifying the login/pass means it
-        # should disable authentication, but apparently it doesn't?
-        { assertion = cfg.enableWebUI -> cfg.httpLogin != "" && cfg.httpPass != "";
-          message   = "If using the web UI, you must configure a login/password.";
-        }
-        # TODO FIXME: assert the existence of sharedFolder directories?
       ];
 
     users.extraUsers.btsync = {