mirror of
https://github.com/nix-community/raspberry-pi-nix.git
synced 2025-11-08 11:36:04 +01:00
only mention rpi-kernels when overriding kernel
so that migrations / sd-image building work if there are additional kernel overrides
This commit is contained in:
parent
db08995cd6
commit
ecc8ca530d
2 changed files with 3 additions and 3 deletions
|
|
@ -22,7 +22,7 @@
|
|||
cfg = config.raspberry-pi-nix;
|
||||
version = cfg.kernel-version;
|
||||
board = cfg.board;
|
||||
kernel = pkgs.rpi-kernels."${version}"."${board}";
|
||||
kernel = config.system.build.kernel;
|
||||
populate-kernel =
|
||||
if cfg.uboot.enable
|
||||
then ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue