Marisa: go back to linux 5.10

Signed-off-by: natto1784 <natto@weirdnatto.in>
This commit is contained in:
2022-05-07 18:26:41 +05:30
parent d13815136b
commit 423c2236b7
3 changed files with 6 additions and 5 deletions

BIN
hosts/marisa/.boot.nix.swp Normal file

Binary file not shown.

View File

@@ -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;

View File

@@ -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;
} }