Add CachyOS kernel (BORE scheduler) for FredOS-Gaming

This commit is contained in:
ediblerope 2026-04-04 20:32:58 +01:00
parent e234f7734a
commit 4a952db006
3 changed files with 145 additions and 14 deletions

View file

@ -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" ];