zramSwap pour les PC à faible RAM (4 Go)
This commit is contained in:
@@ -34,6 +34,14 @@
|
||||
services.openssh.enable = true;
|
||||
networking.firewall.enable = true;
|
||||
|
||||
# Certains PC du parc n'ont que 4 Go de RAM (Cinnamon + Firefox +
|
||||
# LibreOffice + VLC peuvent solliciter la mémoire) — swap compressé en
|
||||
# RAM, marche identiquement quelle que soit la machine.
|
||||
zramSwap = {
|
||||
enable = true;
|
||||
memoryPercent = 50;
|
||||
};
|
||||
|
||||
nix.settings.experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
|
||||
Reference in New Issue
Block a user