mirror of
https://github.com/nix-community/raspberry-pi-nix.git
synced 2025-11-14 22:42:42 +01:00
pin kernel
This commit is contained in:
parent
b39b556e8a
commit
8fc9cbd3e4
2 changed files with 26 additions and 11 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ core-overlay, libcamera-overlay }:
|
||||
{ pinned, core-overlay, libcamera-overlay }:
|
||||
{ lib, pkgs, config, ... }:
|
||||
|
||||
let cfg = config.raspberry-pi-nix;
|
||||
|
|
@ -272,7 +272,10 @@ in
|
|||
"pcie_brcmstb" # required for the pcie bus to work
|
||||
"reset-raspberrypi" # required for vl805 firmware to load
|
||||
];
|
||||
kernelPackages = pkgs.linuxPackagesFor (pkgs.rpi-kernels.latest.kernel);
|
||||
# This pin is not necessary, it would be fine to replace it with
|
||||
# `pkgs.rpi-kernels.latest.kernel`. It is helpful to ensure
|
||||
# cache hits for kernel builds though.
|
||||
kernelPackages = pinned.linuxPackagesFor (pinned.rpi-kernels.latest.kernel);
|
||||
|
||||
loader = {
|
||||
grub.enable = lib.mkDefault false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue