Update configuration.nix
This commit is contained in:
@@ -133,6 +133,11 @@ in
|
|||||||
|
|
||||||
# Fixed: added USB and storage modules for reliable boot from USB stick
|
# 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.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
|
# Fixed: added ZRAM to avoid crashes due to low RAM on portable systems
|
||||||
zramSwap.enable = true;
|
zramSwap.enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user