Add zram config

This commit is contained in:
Don Harper 2024-03-30 15:10:49 -05:00
parent 7df5129c5c
commit fb8664b587

View file

@ -185,6 +185,12 @@ in
];
};
zramSwap = {
enable = true;
memoryPercent = 25;
memoryMax = 2147483648;
};
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
nixpkgs.config.permittedInsecurePackages = [ "electron-25.9.0" ];