gitlab: remove unnecessary assertion
It also gives less information than the error from the module system.
This commit is contained in:
parent
aaf62f7f6e
commit
c4036762b2
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user