cachyos kernel + zRAM + swap, for better perfs and less ooms
This commit is contained in:
parent
aebda3feba
commit
f52275d3e1
6 changed files with 32 additions and 2 deletions
12
kernel.nix
Normal file
12
kernel.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{ pkgs, system, ... }:
|
||||
let
|
||||
cachy-source = import ./nix-cachyos-kernel;
|
||||
cachy-kernel =
|
||||
cachy-source.outputs.legacyPackages.x86_64-linux.linuxPackages-cachyos-bore-lto-x86_64-v3; # .linux-cachyos-bore-lto-x86_64-v3;
|
||||
in
|
||||
{
|
||||
boot.kernelPackages = cachy-kernel;
|
||||
|
||||
nix.settings.substituters = [ "https://attic.xuyh0120.win/lantian" ];
|
||||
nix.settings.trusted-public-keys = [ "lantian:EeAUQ+W+6r7EtwnmYjeVwx5kOGEBpjlBfPlzGlTNvHc=" ];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue