@@ -0,0 +1,19 @@
|
||||
{ config, lib, inputs, pkgs, ... }: {
|
||||
|
||||
## compressao brtfs
|
||||
fileSystems = {
|
||||
"/" = {
|
||||
options = [ "compress=zstd:3" ];
|
||||
};
|
||||
};
|
||||
|
||||
## zram
|
||||
zramSwap = {
|
||||
enable = true;
|
||||
memoryPercent = 70;
|
||||
algorithm = "zstd";
|
||||
};
|
||||
|
||||
## preload
|
||||
services.preload.enable = true;
|
||||
}
|
||||
Reference in New Issue
Block a user