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": {
|
"nixos-hardware": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1623489190,
|
"lastModified": 1623490714,
|
||||||
"narHash": "sha256-p+aJJZ2BE57+59FDjHuUzaWow1M+bZ0MZDxqeB2/TKI=",
|
"narHash": "sha256-Em9Rf+iTY1mTeFOVCLFGGAoSdcx0ekuxuf45ePjsqnY=",
|
||||||
"owner": "cyplo",
|
"owner": "cyplo",
|
||||||
"repo": "nixos-hardware",
|
"repo": "nixos-hardware",
|
||||||
"rev": "1a4ac0b996f2bd5f2fba8b94ea5d7c96d1f6e114",
|
"rev": "a67ed0c3a2d1b31f8233195cbd36bb2501bdf1bc",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
kernel.sysctl = {
|
kernel.sysctl = {
|
||||||
"vm.swappiness" = 75;
|
"vm.swappiness" = 95;
|
||||||
};
|
};
|
||||||
|
|
||||||
kernelModules = [ "kvm-intel" ];
|
kernelModules = [ "kvm-intel" ];
|
||||||
|
@ -40,7 +40,7 @@
|
||||||
zramSwap = {
|
zramSwap = {
|
||||||
enable = true;
|
enable = true;
|
||||||
algorithm = "zstd";
|
algorithm = "zstd";
|
||||||
memoryPercent = 50;
|
memoryPercent = 75;
|
||||||
};
|
};
|
||||||
|
|
||||||
nix.maxJobs = 2;
|
nix.maxJobs = 2;
|
||||||
|
|
Loading…
Reference in a new issue