Update configuration.nix

This commit is contained in:
ska
2025-12-20 09:14:46 +00:00
parent ec765f1b8e
commit 4f72ba0288

View File

@@ -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;