diff --git a/configuration.nix b/configuration.nix index 4b1bb67..160b482 100644 --- a/configuration.nix +++ b/configuration.nix @@ -133,7 +133,12 @@ in # Fixed: added USB and storage modules for reliable boot from USB stick boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "usb_storage" "sd_mod" "sr_mod" ]; - + boot.initrd.supportedFilesystems = [ "vfat" "ntfs" "ext4" "btrfs" "xfs" "f2fs" ]; + boot.kernelModules = [ + "i915" "amdgpu" "nouveau" # Common GPU drivers + "rtl8192cu" "ath9k" "iwlwifi" # Common WiFi chipsets + ]; + # Fixed: added ZRAM to avoid crashes due to low RAM on portable systems zramSwap.enable = true;