Try and reduce Khanda's swappiness
This commit is contained in:
parent
a73a6eda64
commit
fc0494bb63
14
flake.lock
14
flake.lock
|
@ -252,11 +252,11 @@
|
|||
},
|
||||
"nixos-hardware": {
|
||||
"locked": {
|
||||
"lastModified": 1718883385,
|
||||
"narHash": "sha256-nLKMEZc6im82lfSdVPIBwff8OEYLlGVPpcZPvtpOFx4=",
|
||||
"lastModified": 1718894893,
|
||||
"narHash": "sha256-hxQBUtDbFOCCW1CsFZTS9Q5Ov1ZKdJgbBZHSez1M6iA=",
|
||||
"ref": "master",
|
||||
"rev": "0307a32b553f81056edd6455168c635aeda6743b",
|
||||
"revCount": 1730,
|
||||
"rev": "083823b7904e43a4fc1c7229781417e875359a42",
|
||||
"revCount": 1733,
|
||||
"type": "git",
|
||||
"url": "https://github.com/NixOS/nixos-hardware"
|
||||
},
|
||||
|
@ -300,11 +300,11 @@
|
|||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1718530797,
|
||||
"narHash": "sha256-pup6cYwtgvzDpvpSCFh1TEUjw2zkNpk8iolbKnyFmmU=",
|
||||
"lastModified": 1718895438,
|
||||
"narHash": "sha256-k3JqJrkdoYwE3fHE6xGDY676AYmyh4U2Zw+0Bwe5DLU=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "b60ebf54c15553b393d144357375ea956f89e9a9",
|
||||
"rev": "d603719ec6e294f034936c0d0dc06f689d91b6c3",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -53,6 +53,11 @@
|
|||
};
|
||||
};
|
||||
|
||||
kernel.sysctl = {
|
||||
# Try to reduce swappiness - Khanda hates paging, even to NVMe storage
|
||||
"vm.swappiness" = 20;
|
||||
};
|
||||
|
||||
kernelModules = [
|
||||
"kvm-intel"
|
||||
"tpm_crb"
|
||||
|
|
Loading…
Reference in a new issue