Compare commits
3 commits
af5c62eb4b
...
36cd114e72
Author | SHA1 | Date | |
---|---|---|---|
Harald Hoyer | 36cd114e72 | ||
Harald Hoyer | 1e96221b75 | ||
Harald Hoyer | 82c476bd75 |
|
@ -16,6 +16,16 @@ 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";
|
||||
|
|
|
@ -16,18 +16,7 @@
|
|||
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";
|
||||
extraOptions.enabledPreviewProviders = [
|
||||
enabledPreviewProviders = [
|
||||
"OC\\Preview\\BMP"
|
||||
"OC\\Preview\\GIF"
|
||||
"OC\\Preview\\HEIC"
|
||||
|
@ -45,6 +34,17 @@
|
|||
"OC\\Preview\\XBitmap"
|
||||
];
|
||||
};
|
||||
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";
|
||||
};
|
||||
|
||||
services.postgresql = {
|
||||
ensureDatabases = [
|
||||
|
|
|
@ -20,7 +20,10 @@
|
|||
|
||||
services.avahi = {
|
||||
enable = true;
|
||||
nssmdns = true;
|
||||
nssmdns4 = true;
|
||||
nssmdns6 = true;
|
||||
ipv6 = true;
|
||||
ipv4 = true;
|
||||
publish = {
|
||||
enable = true;
|
||||
userServices = true;
|
||||
|
|
Loading…
Reference in a new issue