Compare commits
2 commits
7292e2f852
...
f7dd111761
Author | SHA1 | Date | |
---|---|---|---|
Tristan Daniël Maat | f7dd111761 | ||
Tristan Daniël Maat | afeee8ff5e |
|
@ -11,6 +11,7 @@ in {
|
||||||
inherit hostName;
|
inherit hostName;
|
||||||
|
|
||||||
package = nextcloud;
|
package = nextcloud;
|
||||||
|
enableBrokenCiphersForSSE = false;
|
||||||
enable = true;
|
enable = true;
|
||||||
maxUploadSize = "2G";
|
maxUploadSize = "2G";
|
||||||
https = true;
|
https = true;
|
||||||
|
@ -29,7 +30,9 @@ in {
|
||||||
defaultPhoneRegion = "AT";
|
defaultPhoneRegion = "AT";
|
||||||
};
|
};
|
||||||
|
|
||||||
phpOptions = {
|
phpOptions =
|
||||||
|
options.services.nextcloud.phpOptions.default
|
||||||
|
// {
|
||||||
"opcache.interned_strings_buffer" = "16";
|
"opcache.interned_strings_buffer" = "16";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -18,11 +18,15 @@
|
||||||
ensureUsers = [
|
ensureUsers = [
|
||||||
{
|
{
|
||||||
name = "grafana";
|
name = "grafana";
|
||||||
ensureDBOwnership = true;
|
ensurePermissions = {
|
||||||
|
"DATABASE grafana" = "ALL PRIVILEGES";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name = "nextcloud";
|
name = "nextcloud";
|
||||||
ensureDBOwnership = true;
|
ensurePermissions = {
|
||||||
|
"DATABASE nextcloud" = "ALL PRIVILEGES";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -5,5 +5,4 @@
|
||||||
fetchNextcloudApp {
|
fetchNextcloudApp {
|
||||||
url = source.src.url;
|
url = source.src.url;
|
||||||
sha256 = source.src.sha256;
|
sha256 = source.src.sha256;
|
||||||
license = "unlicense"; # Blatant lie
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue