kernel: compile for x86_64-v3 (common target)
Some checks failed
Build / build (push) Failing after 12s

This commit is contained in:
2026-04-15 17:33:21 -04:00
parent da1bfbb778
commit 7ab17f132e
3 changed files with 11 additions and 27 deletions

View File

@@ -19,22 +19,6 @@
inputs.jovian-nixos.nixosModules.default
];
# cachyos kernel: bore scheduler, full lto, zen 3 (5800x)
boot.kernelPackages =
let
helpers = pkgs.callPackage "${inputs.nix-cachyos-kernel}/helpers.nix" { };
kernel = pkgs.cachyosKernels.linux-cachyos-bore-lto.override {
lto = "full";
processorOpt = "x86_64-v3";
structuredExtraConfig = with lib.kernel; {
# x86_64-v3 is the ISA level; pin to zen 3 for microarch tuning
GENERIC_CPU = lib.mkForce no;
MZEN3 = lib.mkForce yes;
};
};
in
helpers.kernelModuleLLVMOverride (pkgs.linuxKernel.packagesFor kernel);
fileSystems."/media/games" = {
device = "/dev/disk/by-uuid/1878136e-765d-4784-b204-3536ab4fdac8";
fsType = "f2fs";