From 8946e91fad9b49078d161fe3c4a1084f437784d8 Mon Sep 17 00:00:00 2001 From: Austin Seipp Date: Thu, 1 May 2014 17:00:49 -0500 Subject: [PATCH] btsync: remove unneeded assertion Signed-off-by: Austin Seipp --- nixos/modules/services/networking/btsync.nix | 6 ------ 1 file changed, 6 deletions(-) diff --git a/nixos/modules/services/networking/btsync.nix b/nixos/modules/services/networking/btsync.nix index 8b288a713c6..898aed82591 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 = {