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,6 +16,23 @@
|
|||
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";
|
||||
|
@ -27,23 +44,6 @@
|
|||
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 = {
|
||||
|
|
|
@ -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