commit c184c0e5728598af28fc8946aec01f0ee480f443
parent ec3ee3903aac475fe39a1f3b4fdb092b8db9f14c
Author: Peter <peter@minskio.co.uk>
Date: Tue, 3 Nov 2026 18:03:50 +0000
Try keep USB devices live
Usually takes a reboot to get USB drives shown
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/machines/ilias.nix b/machines/ilias.nix
@@ -71,6 +71,7 @@
# Hardware and system
boot.initrd = { availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" "sr_mod" ]; };
boot.kernelModules = [ "kvm-intel" ];
+ boot.kernelParams = [ "pcie_aspm=off" "pcie_port_pm=off" "usbcore.autosuspend=-1" ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
swapDevices = [