Compare commits
3 commits
af5c62eb4b
...
36cd114e72
Author | SHA1 | Date | |
---|---|---|---|
Harald Hoyer | 36cd114e72 | ||
Harald Hoyer | 1e96221b75 | ||
Harald Hoyer | 82c476bd75 |
|
@ -16,6 +16,16 @@ in
|
||||||
gutenprint
|
gutenprint
|
||||||
];
|
];
|
||||||
|
|
||||||
|
services.avahi = {
|
||||||
|
enable = true;
|
||||||
|
nssmdns4 = true;
|
||||||
|
nssmdns6 = true;
|
||||||
|
ipv6 = true;
|
||||||
|
ipv4 = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
networking.firewall.allowedUDPPorts = [ 5353 ];
|
||||||
|
|
||||||
hardware.printers.ensurePrinters = [
|
hardware.printers.ensurePrinters = [
|
||||||
{
|
{
|
||||||
name = "Brother_DCP-L2530DW_series";
|
name = "Brother_DCP-L2530DW_series";
|
||||||
|
|
|
@ -16,18 +16,7 @@
|
||||||
mail_smtpmode = "sendmail";
|
mail_smtpmode = "sendmail";
|
||||||
mail_sendmailmode = "pipe";
|
mail_sendmailmode = "pipe";
|
||||||
default_phone_region = "DE";
|
default_phone_region = "DE";
|
||||||
};
|
enabledPreviewProviders = [
|
||||||
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 = [
|
|
||||||
"OC\\Preview\\BMP"
|
"OC\\Preview\\BMP"
|
||||||
"OC\\Preview\\GIF"
|
"OC\\Preview\\GIF"
|
||||||
"OC\\Preview\\HEIC"
|
"OC\\Preview\\HEIC"
|
||||||
|
@ -45,6 +34,17 @@
|
||||||
"OC\\Preview\\XBitmap"
|
"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 = {
|
services.postgresql = {
|
||||||
ensureDatabases = [
|
ensureDatabases = [
|
||||||
|
|
|
@ -20,7 +20,10 @@
|
||||||
|
|
||||||
services.avahi = {
|
services.avahi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
nssmdns = true;
|
nssmdns4 = true;
|
||||||
|
nssmdns6 = true;
|
||||||
|
ipv6 = true;
|
||||||
|
ipv4 = true;
|
||||||
publish = {
|
publish = {
|
||||||
enable = true;
|
enable = true;
|
||||||
userServices = true;
|
userServices = true;
|
||||||
|
|
Loading…
Reference in a new issue