diff --git a/README.md b/README.md index 0758ce6..4d1eac7 100644 --- a/README.md +++ b/README.md @@ -10,11 +10,6 @@ This repo provides the latest kernel version and the latest LTS kernel version: ```bash └───packages - ├───aarch64-linux - ├───linux-cachyos-latest - ├───linux-cachyos-latest-lto - ├───linux-cachyos-lts - └───linux-cachyos-lts-lto └───x86_64-linux ├───linux-cachyos-latest ├───linux-cachyos-latest-lto diff --git a/flake.nix b/flake.nix index fde9f62..1303f97 100644 --- a/flake.nix +++ b/flake.nix @@ -51,10 +51,7 @@ }; in rec { - systems = [ - "x86_64-linux" - "aarch64-linux" - ]; + systems = [ "x86_64-linux" ]; perSystem = { diff --git a/kernel-cachyos/mkCachyKernel.nix b/kernel-cachyos/mkCachyKernel.nix index 401e029..d4d97c1 100644 --- a/kernel-cachyos/mkCachyKernel.nix +++ b/kernel-cachyos/mkCachyKernel.nix @@ -51,9 +51,7 @@ lib.makeOverridable ( ] ++ patches; postPatch = '' - for DIR in arch/*/configs; do - install -Dm644 ${cachyosConfigFile} $DIR/cachyos_defconfig - done + install -Dm644 ${cachyosConfigFile} arch/x86/configs/cachyos_defconfig '' + postPatch; dontConfigure = true; @@ -112,6 +110,7 @@ lib.makeOverridable ( extraMeta = { description = "Linux CachyOS Kernel" + lib.optionalString lto " with Clang+ThinLTO"; + broken = !stdenv.isx86_64; } // (args.extraMeta or { });