mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-12-07 00:13:30 +01:00
Merge branch 'master' into acer-predator-helios-300-g3-571
This commit is contained in:
4 files changed
+8
-5
No files matched your search
@@ -35,4 +35,5 @@
|
||||
"console=tty0"
|
||||
];
|
||||
|
||||
hardware.firmware = [ (pkgs.callPackage ../common/raspberry-pi-wireless-firmware.nix { }) ];
|
||||
}
|
||||
@@ -49,4 +49,6 @@ in
|
||||
message = "The Raspberry Pi 5 requires a newer kernel version (>=6.1.54). Please upgrade nixpkgs for this system.";
|
||||
}
|
||||
];
|
||||
|
||||
hardware.firmware = [ (pkgs.callPackage ../common/raspberry-pi-wireless-firmware.nix { }) ];
|
||||
}
|
||||
@@ -10,9 +10,9 @@
|
||||
|
||||
let
|
||||
# NOTE: raspberryPiWirelessFirmware should be updated with this
|
||||
modDirVersion = "6.18.34";
|
||||
tag = "stable_20260609";
|
||||
hash = "sha256-ok++36dh9o4e7AC5RErW00/r23rGxufe0PYXz5Dzy5U=";
|
||||
modDirVersion = "6.18.39";
|
||||
tag = "stable_20260724";
|
||||
hash = "sha256-IT/SkF458oLmnFIPbN76Qp6s8KVxKQOC02XmN7NRdBc=";
|
||||
inherit (lib.kernel) freeform yes no;
|
||||
in
|
||||
(buildLinux (
|
||||
|
||||
@@ -84,13 +84,13 @@
|
||||
populateRootCommands = "";
|
||||
|
||||
postBuildCommands = ''
|
||||
eval $(${pkgs.util-linux}/bin/partx $img -o START,SECTORS --nr 2 --pairs)
|
||||
eval $(${pkgs.buildPackages.util-linux}/bin/partx $img -o START,SECTORS --nr 2 --pairs)
|
||||
ROOTFS_START=$START
|
||||
ROOTFS_SECTORS=$SECTORS
|
||||
|
||||
truncate -s '+2M' $img
|
||||
|
||||
${pkgs.util-linux}/bin/sfdisk $img <<EOF
|
||||
${pkgs.buildPackages.util-linux}/bin/sfdisk $img <<EOF
|
||||
label: gpt
|
||||
unit: sectors
|
||||
sector-size: 512
|
||||
|
||||
Reference in new issue
Block a user