swap to RAM, allow up to 10% of memory be used for that
This commit is contained in:
parent
4e64e676d9
commit
2db5befa3d
1 changed files with 2 additions and 1 deletions
|
@ -78,8 +78,9 @@ in
|
||||||
"tipc"
|
"tipc"
|
||||||
];
|
];
|
||||||
|
|
||||||
# swap to RAM
|
# swap to RAM, allow up to 10% of memory be used for that
|
||||||
zramSwap.enable = true;
|
zramSwap.enable = true;
|
||||||
|
zramSwap.memoryPercent = 10;
|
||||||
|
|
||||||
# harden some services
|
# harden some services
|
||||||
systemd.services.systemd-rfkill = {
|
systemd.services.systemd-rfkill = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue