t480 config, more ramswap
This commit is contained in:
parent
cb54acdff6
commit
00ff49b3a8
2 changed files with 5 additions and 5 deletions
|
@ -74,11 +74,11 @@
|
|||
},
|
||||
"nixos-hardware": {
|
||||
"locked": {
|
||||
"lastModified": 1623489190,
|
||||
"narHash": "sha256-p+aJJZ2BE57+59FDjHuUzaWow1M+bZ0MZDxqeB2/TKI=",
|
||||
"lastModified": 1623490714,
|
||||
"narHash": "sha256-Em9Rf+iTY1mTeFOVCLFGGAoSdcx0ekuxuf45ePjsqnY=",
|
||||
"owner": "cyplo",
|
||||
"repo": "nixos-hardware",
|
||||
"rev": "1a4ac0b996f2bd5f2fba8b94ea5d7c96d1f6e114",
|
||||
"rev": "a67ed0c3a2d1b31f8233195cbd36bb2501bdf1bc",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
boot = {
|
||||
kernel.sysctl = {
|
||||
"vm.swappiness" = 75;
|
||||
"vm.swappiness" = 95;
|
||||
};
|
||||
|
||||
kernelModules = [ "kvm-intel" ];
|
||||
|
@ -40,7 +40,7 @@
|
|||
zramSwap = {
|
||||
enable = true;
|
||||
algorithm = "zstd";
|
||||
memoryPercent = 50;
|
||||
memoryPercent = 75;
|
||||
};
|
||||
|
||||
nix.maxJobs = 2;
|
||||
|
|
Loading…
Reference in a new issue