Enable zram on all Pis

This commit is contained in:
Andreas Zweili 2024-03-07 22:40:57 +01:00
parent 0e3fc6ccac
commit 74ad7c7614
3 changed files with 1 additions and 2 deletions

View File

@ -60,6 +60,7 @@ in
size = 4 * 1024; size = 4 * 1024;
} }
]; ];
services.az-zram-swap.enable = true;
boot = { boot = {
initrd.availableKernelModules = [ initrd.availableKernelModules = [

View File

@ -22,7 +22,6 @@
tag = "management"; tag = "management";
time = "23:30"; time = "23:30";
}; };
az-zram-swap.enable = true;
}; };
# Enable dictionaries # Enable dictionaries
programs = { programs = {

View File

@ -21,7 +21,6 @@
tag = "proxy"; tag = "proxy";
time = "00:00"; time = "00:00";
}; };
az-zram-swap.enable = true;
nginx = { nginx = {
commonHttpConfig = '' commonHttpConfig = ''
# Add HSTS header with preloading to HTTPS requests. # Add HSTS header with preloading to HTTPS requests.