Add zram config
This commit is contained in:
parent
7df5129c5c
commit
fb8664b587
1 changed files with 6 additions and 0 deletions
|
|
@ -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" ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue