Compare commits

..

3 Commits

3 changed files with 21 additions and 2 deletions

View File

@ -10,10 +10,22 @@
# Include the results of the hardware scan. # Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
]; ];
materus.profile.nixpkgs.enable = true;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
libraspberrypi libraspberrypi
raspberrypi-eeprom raspberrypi-eeprom
git git
p7zip
unrar
bzip2
unzip
zstd
xz
zip
gzip
]; ];
sound.enable = false; sound.enable = false;
boot.tmp.useTmpfs = true; boot.tmp.useTmpfs = true;

View File

@ -39,7 +39,9 @@
appstoreEnable = true; appstoreEnable = true;
database.createLocally = true; database.createLocally = true;
nginx.recommendedHttpHeaders = true; nginx.recommendedHttpHeaders = true;
extraApps = { notify_push = pkgs.nextcloud28Packages.apps.notify_push; }; extraApps = with pkgs.nextcloud28Packages.apps; {
inherit notify_push previewgenerator;
};
extraOptions = { extraOptions = {
mail_smtpmode = "sendmail"; mail_smtpmode = "sendmail";
mail_sendmailmode = "pipe"; mail_sendmailmode = "pipe";
@ -47,6 +49,10 @@
phpOptions = { phpOptions = {
"opcache.interned_strings_buffer" = "10"; "opcache.interned_strings_buffer" = "10";
"opcache.jit" = "1255";
"opcache.jit_buffer_size" = "128M";
"opcache.revalidate_freq" = "60";
"opcache.save_comments" = "1";
}; };
}; };
services.nginx.virtualHosts.${config.services.nextcloud.hostName} = { services.nginx.virtualHosts.${config.services.nextcloud.hostName} = {

View File

@ -13,6 +13,7 @@
services.postgresql.enable = true; services.postgresql.enable = true;
services.postgresql.package = pkgs."postgresql_${cfg.version}"; services.postgresql.package = pkgs."postgresql_${cfg.version}";
services.postgresql.dataDir = "${config.waffentragerService.elements.postgresqlDir}/${cfg.version}"; services.postgresql.dataDir = "${config.waffentragerService.elements.postgresqlDir}/${cfg.version}";
services.postgresql.enableJIT = true;
systemd.services.postgresql = { systemd.services.postgresql = {
partOf = [ "elements-mount.service" ]; partOf = [ "elements-mount.service" ];
requires = [ "elements-mount.service" ]; requires = [ "elements-mount.service" ];