feat: nextcloud test

This commit is contained in:
Nick 2024-10-18 12:25:17 -05:00
parent 5b48e0a3a6
commit 0f4c3de02f

View file

@ -21,16 +21,16 @@ in {
https = true; https = true;
package = pkgs.nextcloud30; package = pkgs.nextcloud30;
phpOptions."opcache.interned_strings_buffer" = "24"; phpOptions."opcache.interned_strings_buffer" = "24";
# extraAppsEnable = true; extraAppsEnable = true;
# extraApps = { extraApps = {
# inherit inherit
# (config.services.nextcloud.package.packages.apps) (config.services.nextcloud.package.packages.apps)
# calendar calendar
# ; ;
# }; };
config = { config = {
adminpassFile = config.sops.secrets."${nextcloud.name}-pass".path; adminpassFile = config.sops.secrets."${nextcloud.name}-pass".path;
adminuser = "admin"; adminuser = user0;
dbtype = "pgsql"; dbtype = "pgsql";
}; };
database = { database = {
@ -110,10 +110,11 @@ in {
# depends = [server.storage0.mount]; # depends = [server.storage0.mount];
# }; # };
# systemd.tmpfiles.rules = [ systemd.tmpfiles.rules = [
# "Z ${nextcloud.paths.path0} 750 ${nextcloud.name} ${nextcloud.name} -" "Z /var/lib/${nextcloud.name} 750 ${nextcloud.name} ${nextcloud.name} -"
# "Z ${nextcloud.sops.path0} 750 ${nextcloud.name} ${nextcloud.name} -" # "Z ${nextcloud.paths.path0} 750 ${nextcloud.name} ${nextcloud.name} -"
# ]; # "Z ${nextcloud.sops.path0} 750 ${nextcloud.name} ${nextcloud.name} -"
];
users.users.${nextcloud.name}.extraGroups = ["caddy" "nginx" "postgres"]; users.users.${nextcloud.name}.extraGroups = ["caddy" "nginx" "postgres"];