From 55af0a9edc3873209935b69f1ccefe96df0f9cd4 Mon Sep 17 00:00:00 2001 From: k3t Date: Mon, 1 Jun 2026 18:46:41 -0600 Subject: [PATCH] only use xanmod on x86 --- modules/sys/hw/boot.nix | 1 - modules/sys/hw/cpu/amd64.nix | 1 + modules/sys/hw/cpu/intel.nix | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/sys/hw/boot.nix b/modules/sys/hw/boot.nix index d7959ce..97438ca 100644 --- a/modules/sys/hw/boot.nix +++ b/modules/sys/hw/boot.nix @@ -3,7 +3,6 @@ { boot.loader.limine.enable = true; boot.loader.efi.canTouchEfiVariables = true; - boot.kernelPackages = pkgs.linuxPackages_xanmod_latest; boot.extraModulePackages = [ ]; boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" "sr_mod" ]; } \ No newline at end of file diff --git a/modules/sys/hw/cpu/amd64.nix b/modules/sys/hw/cpu/amd64.nix index 5706461..1fb2183 100644 --- a/modules/sys/hw/cpu/amd64.nix +++ b/modules/sys/hw/cpu/amd64.nix @@ -1,4 +1,5 @@ { + boot.kernelPackages = pkgs.linuxPackages_xanmod_latest; boot.binfmt.preferStaticEmulators = true; boot.binfmt.emulatedSystems = [ "aarch64-linux" "x86_64-windows" ]; boot.kernelModules = [ "kvm-amd" ]; diff --git a/modules/sys/hw/cpu/intel.nix b/modules/sys/hw/cpu/intel.nix index f00cc86..46c5386 100644 --- a/modules/sys/hw/cpu/intel.nix +++ b/modules/sys/hw/cpu/intel.nix @@ -1,4 +1,5 @@ { + boot.kernelPackages = pkgs.linuxPackages_xanmod_latest; boot.binfmt.preferStaticEmulators = true; boot.binfmt.emulatedSystems = [ "aarch64-linux" "x86_64-windows" ]; boot.kernelModules = [ "kvm-intel" ];