summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-05-03 19:12:48 +0530
committersinanmohd <sinan@sinanmohd.com>2024-05-04 19:34:29 +0530
commit647ecc403271d77c1d4b00cfeaf0997753d0fc4c (patch)
treee083d127582e9e70bced31992c0390c34ef1e4f6
parentbad07776e0f4d6b912c99b9b9aa6ac7ce8940c6b (diff)
cez/hardware/initrd: remove unnecessary modules
-rw-r--r--nixos/cez/hardware-configuration.nix11
1 files changed, 1 insertions, 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";
};