gitlab: remove unnecessary assertion

It also gives less information than the error from the module system.
This commit is contained in:
Robin Gloster 2017-12-25 17:01:10 +01:00
parent aaf62f7f6e
commit c4036762b2
No known key found for this signature in database
GPG Key ID: D5C458DF6DD97EDF

View File

@ -248,7 +248,6 @@ in {
databasePassword = mkOption {
type = types.str;
default = "";
description = "Gitlab database user password.";
};
@ -440,12 +439,6 @@ in {
environment.systemPackages = [ pkgs.git gitlab-rake cfg.packages.gitlab-shell ];
assertions = [
{ assertion = cfg.databasePassword != "";
message = "databasePassword must be set";
}
];
# Redis is required for the sidekiq queue runner.
services.redis.enable = mkDefault true;
# We use postgres as the main data store.