my terrible dotfiles
at main 613 B view raw
1{ 2 config, 3 lib, 4 modulesPath, 5 ... 6}: 7 8{ 9 imports = [ 10 (modulesPath + "/installer/scan/not-detected.nix") 11 ]; 12 13 boot.initrd.availableKernelModules = [ 14 "mpt3sas" 15 "xhci_pci" 16 "ahci" 17 "nvme" 18 "usbhid" 19 "usb_storage" 20 "sd_mod" 21 ]; 22 boot.initrd.kernelModules = [ ]; 23 boot.kernelModules = [ "kvm-amd" ]; 24 boot.extraModulePackages = [ ]; 25 boot.kernelParams = [ 26 "panic=30" 27 ]; 28 29 networking.useDHCP = lib.mkDefault true; 30 31 nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; 32 hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; 33}