From 647ecc403271d77c1d4b00cfeaf0997753d0fc4c Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Fri, 3 May 2024 19:12:48 +0530 Subject: cez/hardware/initrd: remove unnecessary modules --- nixos/cez/hardware-configuration.nix | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/nixos/cez/hardware-configuration.nix b/nixos/cez/hardware-configuration.nix index 19313e5..a2a31c0 100644 --- a/nixos/cez/hardware-configuration.nix +++ b/nixos/cez/hardware-configuration.nix @@ -9,17 +9,8 @@ efi.canTouchEfiVariables = true; }; - kernelModules = [ "kvm-amd" ]; initrd = { - availableKernelModules = [ - "nvme" - "xhci_pci" - "ahci" - "usb_storage" - "sd_mod" - "sdhci_pci" - ]; - + kernelModules = [ "amdgpu" "nvme" ]; luks.devices."crypt".device = "/dev/disk/by-uuid/84acd784-caad-41a1-a2e4-39468d01fefd"; }; -- cgit v1.2.3