Add CachyOS kernel (BORE scheduler) for FredOS-Gaming
This commit is contained in:
parent
e234f7734a
commit
4a952db006
3 changed files with 145 additions and 14 deletions
|
|
@ -1,10 +1,18 @@
|
|||
#./hosts/hardware/FredOS-Gaming.nix
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
{ config, lib, pkgs, modulesPath, inputs, ... }:
|
||||
{
|
||||
imports = [
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
nixpkgs.overlays = [ inputs.nix-cachyos-kernel.overlays.default ];
|
||||
boot.kernelPackages = lib.mkForce pkgs.cachyosKernels.linuxPackages-cachyos-bore;
|
||||
|
||||
nix.settings = {
|
||||
substituters = [ "https://attic.xuyh0120.win/lantian" ];
|
||||
trusted-public-keys = [ "lantian:EeAUQ+W+6r7EtwnmYjeVwx5kOGEBpjlBfPlzGlTNvHc=" ];
|
||||
};
|
||||
|
||||
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
|
||||
boot.initrd.kernelModules = [ "amdgpu" ];
|
||||
boot.kernelModules = [ "kvm-amd" "ntsync" ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue