nixos/kernel.nix

12 lines
437 B
Nix
Raw Normal View History

{ 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=" ];
}