fix: debug attempts for the weird reboot issue
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
This commit is contained in:
		
							parent
							
								
									bd1a250b1f
								
							
						
					
					
						commit
						8ba0063a34
					
				
					 2 changed files with 11 additions and 4 deletions
				
			
		|  | @ -8,12 +8,18 @@ | |||
|     [ (modulesPath + "/installer/scan/not-detected.nix") | ||||
|     ]; | ||||
| 
 | ||||
|   boot.kernelParams = [ "pci=realloc" ]; | ||||
|   boot.kernelParams = [ "pci=realloc" "boot.shell_on_fail" ]; | ||||
|   boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usbhid" "usb_storage" "sd_mod" ]; | ||||
|   boot.initrd.kernelModules = [ ]; | ||||
|   boot.kernelModules = [ "kvm-amd" ]; | ||||
|   boot.extraModulePackages = [ ]; | ||||
| 
 | ||||
|   boot.initrd.extraUtilsCommands = '' | ||||
|     copy_bin_and_libs ${pkgs.nvme-cli}/bin/nvme | ||||
|     copy_bin_and_libs ${pkgs.util-linux}/bin/blkzone | ||||
|     copy_bin_and_libs ${pkgs.util-linux}/bin/lsblk | ||||
|   ''; | ||||
| 
 | ||||
|   boot.initrd.systemd.enable = lib.mkForce false; | ||||
| 
 | ||||
|   fileSystems."/" = | ||||
|  | @ -34,7 +40,7 @@ | |||
| 
 | ||||
|   swapDevices = | ||||
|     [ { device = "/dev/disk/by-uuid/93e251e1-1bfc-4bd4-8585-ea2eae7795bf"; } | ||||
|     ]; | ||||
|   ]; | ||||
| 
 | ||||
|   nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; | ||||
|   hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; | ||||
|  |  | |||
		Reference in a new issue