Enable zram on all Pis
This commit is contained in:
parent
0e3fc6ccac
commit
74ad7c7614
|
@ -60,6 +60,7 @@ in
|
||||||
size = 4 * 1024;
|
size = 4 * 1024;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
services.az-zram-swap.enable = true;
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
initrd.availableKernelModules = [
|
initrd.availableKernelModules = [
|
||||||
|
|
|
@ -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 = {
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue