Marisa: go back to linux 5.10
Signed-off-by: natto1784 <natto@weirdnatto.in>
This commit is contained in:
		
							
								
								
									
										
											BIN
										
									
								
								hosts/marisa/.boot.nix.swp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								hosts/marisa/.boot.nix.swp
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							@@ -1,9 +1,9 @@
 | 
				
			|||||||
{ config, pkgs, ... }:
 | 
					{ config, pkgs, ... }:
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
  boot = {
 | 
					  boot = {
 | 
				
			||||||
    kernelParams = [ "console=ttyS0,115200n8" "console=tty0" ];
 | 
					    kernelParams = [ "console=ttyS0,115200n8" "console=ttyAMA0,115200" "console=tty0" "boot.shell_on_fail" ];
 | 
				
			||||||
    #    kernelPackages = pkgs.linuxPackages_rpi4; //this sucks
 | 
					    kernelPackages = pkgs.linuxPackages_5_10; 
 | 
				
			||||||
    initrd.availableKernelModules = [ "xhci_pci" "usb_storage" "usbhid" "uas" "pcie-brcmstb" ];
 | 
					    initrd.availableKernelModules = [ "xhci_pci" "usb_storage" "usbhid" "uas" "pcie-brcmstb" "vc4" ];
 | 
				
			||||||
    loader = {
 | 
					    loader = {
 | 
				
			||||||
      grub.enable = false;
 | 
					      grub.enable = false;
 | 
				
			||||||
      generic-extlinux-compatible.enable = true;
 | 
					      generic-extlinux-compatible.enable = true;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -5,7 +5,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
  fileSystems."/" =
 | 
					  fileSystems."/" =
 | 
				
			||||||
    { device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
 | 
					    { device = "/dev/disk/by-label/NIXOS_SD";
 | 
				
			||||||
      fsType = "ext4";
 | 
					      fsType = "ext4";
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -24,5 +24,6 @@
 | 
				
			|||||||
  ];
 | 
					  ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
 | 
					  powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
 | 
				
			||||||
  hardware.firmware = [ pkgs.raspberrypiWirelessFirmware ];
 | 
					  #hardware.firmware = [ pkgs.raspberrypiWirelessFirmware ];
 | 
				
			||||||
 | 
					  hardware.enableRedistributableFirmware = true;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user