sopp: try and fix usb storage boot problem

This commit is contained in:
Peder Bergebakken Sundt 2024-07-31 21:32:19 +02:00
parent 235969e867
commit 592fec9763
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
boot.kernel.sysctl."vm.swappiness" = lib.mkDefault 10; # 0-100, commonly 60 boot.kernel.sysctl."vm.swappiness" = lib.mkDefault 10; # 0-100, commonly 60
boot.kernelModules = [ "xhci_pci" ]; # fixes boot with usb hub attached https://github.com/NixOS/nixpkgs/issues/171625
services.xserver.displayManager.autoLogin.enable = true; services.xserver.displayManager.autoLogin.enable = true;
services.xserver.displayManager.autoLogin.user = "pbsds"; services.xserver.displayManager.autoLogin.user = "pbsds";