Compare commits

..

No commits in common. "36cd114e72fc70cab4c451424eb70a551f480bfd" and "af5c62eb4bbaac2ed0d3d22820cc47221df59072" have entirely different histories.

3 changed files with 18 additions and 31 deletions

View file

@ -16,16 +16,6 @@ in
gutenprint
];
services.avahi = {
enable = true;
nssmdns4 = true;
nssmdns6 = true;
ipv6 = true;
ipv4 = true;
};
networking.firewall.allowedUDPPorts = [ 5353 ];
hardware.printers.ensurePrinters = [
{
name = "Brother_DCP-L2530DW_series";

View file

@ -16,23 +16,6 @@
mail_smtpmode = "sendmail";
mail_sendmailmode = "pipe";
default_phone_region = "DE";
enabledPreviewProviders = [
"OC\\Preview\\BMP"
"OC\\Preview\\GIF"
"OC\\Preview\\HEIC"
"OC\\Preview\\JPEG"
"OC\\Preview\\Krita"
"OC\\Preview\\MP3"
"OC\\Preview\\MP4"
"OC\\Preview\\MarkDown"
"OC\\Preview\\Movie"
"OC\\Preview\\OpenDocument"
"OC\\Preview\\PDF"
"OC\\Preview\\PNG"
"OC\\Preview\\TXT"
"OC\\Preview\\WEBP"
"OC\\Preview\\XBitmap"
];
};
phpOptions = {
upload_max_filesize = lib.mkForce "1G";
@ -44,6 +27,23 @@
config.dbname = "nextcloud";
config.dbhost = "/run/postgresql";
config.dbuser = "nextcloud";
extraOptions.enabledPreviewProviders = [
"OC\\Preview\\BMP"
"OC\\Preview\\GIF"
"OC\\Preview\\HEIC"
"OC\\Preview\\JPEG"
"OC\\Preview\\Krita"
"OC\\Preview\\MP3"
"OC\\Preview\\MP4"
"OC\\Preview\\MarkDown"
"OC\\Preview\\Movie"
"OC\\Preview\\OpenDocument"
"OC\\Preview\\PDF"
"OC\\Preview\\PNG"
"OC\\Preview\\TXT"
"OC\\Preview\\WEBP"
"OC\\Preview\\XBitmap"
];
};
services.postgresql = {

View file

@ -20,10 +20,7 @@
services.avahi = {
enable = true;
nssmdns4 = true;
nssmdns6 = true;
ipv6 = true;
ipv4 = true;
nssmdns = true;
publish = {
enable = true;
userServices = true;