add extraOCCCommands option

This commit is contained in:
Jonas Heinrich 2024-07-18 12:50:10 +02:00
parent 41f6fcc324
commit f97c7e1cd7
4 changed files with 25 additions and 1268 deletions

View file

@ -5,14 +5,7 @@
cores = 4;
};
# Workaround for bug, disable pretty urls
# https://github.com/nextcloud/server/issues/44685
disabledModules = [
"services/web-apps/nextcloud.nix"
];
imports = [
./nextcloud.nix
./nextcloud-extras.nix
];
@ -93,8 +86,12 @@
};
appstoreEnable = true;
configureRedis = true;
extraOCCCommands = ''
${config.services.nextcloud.occ}/bin/nextcloud-occ app:enable cleanup
'';
settings = {
log_type = "syslog";
log_type = "file";
loglevel = 1;
mail_smtpmode = "sendmail";
mail_sendmailmode = "pipe";
trusted_domains = [ "10.100.100.1" ];