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:
Travis Staton 2024-11-04 22:43:44 -05:00
parent db08995cd6
commit ecc8ca530d
No known key found for this signature in database
GPG key ID: E883E53CDAC16260
2 changed files with 3 additions and 3 deletions

View file

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