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.
./hardware-configuration.nix
];
materus.profile.nixpkgs.enable = true;
environment.systemPackages = with pkgs; [
libraspberrypi
raspberrypi-eeprom
git
p7zip
unrar
bzip2
unzip
zstd
xz
zip
gzip
];
sound.enable = false;
boot.tmp.useTmpfs = true;

View File

@ -39,14 +39,20 @@
appstoreEnable = true;
database.createLocally = true;
nginx.recommendedHttpHeaders = true;
extraApps = { notify_push = pkgs.nextcloud28Packages.apps.notify_push; };
extraApps = with pkgs.nextcloud28Packages.apps; {
inherit notify_push previewgenerator;
};
extraOptions = {
mail_smtpmode = "sendmail";
mail_sendmailmode = "pipe";
};
phpOptions = {
phpOptions = {
"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} = {

View File

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