Harald Hoyer
6d4be557f8
This commit corrects the code's formatting in two parts: 1) It normalizes the indentation in the BindPaths block under aesmd_dcap/default.nix. 2) It also removes the extra space before "DE" in the default_phone_region setting in nextcloud.nix.
30 lines
863 B
Nix
30 lines
863 B
Nix
{ pkgs, lib, ... }:
|
|
{
|
|
systemd.services."nextcloud-setup".requires = [ "postgresql.service" ];
|
|
systemd.services."nextcloud-setup".after = [ "postgresql.service" ];
|
|
|
|
environment.etc."nextcloud-admin-pass".text = "test123";
|
|
services.nextcloud = {
|
|
enable = true;
|
|
package = pkgs.nextcloud29;
|
|
hostName = "nc.hoyer.xyz";
|
|
https = true;
|
|
configureRedis = true;
|
|
settings = {
|
|
mail_smtpmode = "sendmail";
|
|
mail_sendmailmode = "pipe";
|
|
default_phone_region = "DE";
|
|
};
|
|
phpOptions = {
|
|
upload_max_filesize = lib.mkForce "1G";
|
|
post_max_size = lib.mkForce "1G";
|
|
"opcache.interned_strings_buffer" = "16";
|
|
};
|
|
config.adminpassFile = "/etc/nextcloud-admin-pass";
|
|
config.dbtype = "pgsql";
|
|
config.dbname = "nextcloud";
|
|
config.dbhost = "/run/postgresql";
|
|
config.dbuser = "nextcloud";
|
|
};
|
|
}
|