mirror of
https://github.com/nix-community/raspberry-pi-nix.git
synced 2025-11-08 11:36:04 +01:00
chore: undo dtparams, improve kernel building code
This commit is contained in:
parent
aa99f3a2dd
commit
57a532319e
5 changed files with 93 additions and 73 deletions
|
|
@ -20,7 +20,8 @@
|
|||
'';
|
||||
};
|
||||
board = config.raspberry-pi-nix.board;
|
||||
kernel = pkgs.rpi-kernels."latest_${board}".kernel;
|
||||
version = config.raspberry-pi-nix.kernel_version;
|
||||
kernel = pkgs.rpi-kernels."${version}"."${board}";
|
||||
populate-kernel =
|
||||
if config.raspberry-pi-nix.uboot.enable
|
||||
then ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue