Update configuration.nix
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user