nixos/tests/nextcloud: fix with-declarative-redis-and-secrets test
This commit is contained in:
parent
b0f478b861
commit
79e3ab84dd
@ -41,10 +41,13 @@ in {
|
||||
};
|
||||
secretFile = "/etc/nextcloud-secrets.json";
|
||||
|
||||
extraOptions.redis = {
|
||||
dbindex = 0;
|
||||
timeout = 1.5;
|
||||
# password handled via secretfile below
|
||||
extraOptions = {
|
||||
allow_local_remote_servers = true;
|
||||
redis = {
|
||||
dbindex = 0;
|
||||
timeout = 1.5;
|
||||
# password handled via secretfile below
|
||||
};
|
||||
};
|
||||
configureRedis = true;
|
||||
};
|
||||
@ -62,6 +65,7 @@ in {
|
||||
|
||||
services.postgresql = {
|
||||
enable = true;
|
||||
package = pkgs.postgresql_14;
|
||||
};
|
||||
systemd.services.postgresql.postStart = pkgs.lib.mkAfter ''
|
||||
password=$(cat ${passFile})
|
||||
|
Loading…
Reference in New Issue
Block a user