WIP: module qois.cloud: add basic test #77

Draft
das-g wants to merge 2 commits from test-cloud into main
Showing only changes of commit b295ae9396 - Show all commits

View file

@ -3,6 +3,7 @@
config, config,
lib, lib,
pkgs, pkgs,
options,
... ...
}: }:
@ -30,6 +31,10 @@ with lib;
"nextcloud30" "nextcloud30"
]; ];
}; };
adminpassFile = options.services.nextcloud.config.adminpassFile // {
default = config.sops.secrets."nextcloud/admin".path;
};
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
@ -59,7 +64,7 @@ with lib;
database.createLocally = true; database.createLocally = true;
config = { config = {
adminpassFile = config.sops.secrets."nextcloud/admin".path; inherit (cfg) adminpassFile;
adminuser = "root"; adminuser = "root";
dbtype = "pgsql"; dbtype = "pgsql";
}; };