Compare commits
2 commits
f7dd111761
...
7292e2f852
Author | SHA1 | Date | |
---|---|---|---|
Tristan Daniël Maat | 7292e2f852 | ||
Tristan Daniël Maat | ebc45a9af1 |
|
@ -11,7 +11,6 @@ in {
|
||||||
inherit hostName;
|
inherit hostName;
|
||||||
|
|
||||||
package = nextcloud;
|
package = nextcloud;
|
||||||
enableBrokenCiphersForSSE = false;
|
|
||||||
enable = true;
|
enable = true;
|
||||||
maxUploadSize = "2G";
|
maxUploadSize = "2G";
|
||||||
https = true;
|
https = true;
|
||||||
|
@ -30,11 +29,9 @@ in {
|
||||||
defaultPhoneRegion = "AT";
|
defaultPhoneRegion = "AT";
|
||||||
};
|
};
|
||||||
|
|
||||||
phpOptions =
|
phpOptions = {
|
||||||
options.services.nextcloud.phpOptions.default
|
"opcache.interned_strings_buffer" = "16";
|
||||||
// {
|
};
|
||||||
"opcache.interned_strings_buffer" = "16";
|
|
||||||
};
|
|
||||||
|
|
||||||
extraApps = {
|
extraApps = {
|
||||||
inherit (pkgs.local) bookmarks calendar contacts cookbook news notes;
|
inherit (pkgs.local) bookmarks calendar contacts cookbook news notes;
|
||||||
|
|
|
@ -18,15 +18,11 @@
|
||||||
ensureUsers = [
|
ensureUsers = [
|
||||||
{
|
{
|
||||||
name = "grafana";
|
name = "grafana";
|
||||||
ensurePermissions = {
|
ensureDBOwnership = true;
|
||||||
"DATABASE grafana" = "ALL PRIVILEGES";
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name = "nextcloud";
|
name = "nextcloud";
|
||||||
ensurePermissions = {
|
ensureDBOwnership = true;
|
||||||
"DATABASE nextcloud" = "ALL PRIVILEGES";
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -5,4 +5,5 @@
|
||||||
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