Compare commits
3 Commits
9242bc2a04
...
f4e0d49672
Author | SHA1 | Date |
---|---|---|
Mateusz Słodkowicz | f4e0d49672 | |
Mateusz Słodkowicz | f141ffaf89 | |
Mateusz Słodkowicz | 382504ee53 |
|
@ -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;
|
||||
|
|
|
@ -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} = {
|
||||
|
|
|
@ -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" ];
|
||||
|
|
Loading…
Reference in New Issue