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;
}
];
services.az-zram-swap.enable = true;
boot = {
initrd.availableKernelModules = [

View File

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

View File

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