mirror of
https://github.com/nix-community/raspberry-pi-nix.git
synced 2025-11-23 18:59:36 +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
|
|
@ -16,7 +16,8 @@ let
|
|||
(lib.filterAttrs (k: v: v.enable) x);
|
||||
render-dt-overlay = { overlay, args }:
|
||||
"dtoverlay=" + overlay + "\n"
|
||||
+ lib.strings.concatMapStringsSep "\n" render-dt-param args + "\n";
|
||||
+ lib.strings.concatMapStringsSep "\n" render-dt-param args + "\n"
|
||||
+ "dtoverlay=";
|
||||
render-base-dt-params = params:
|
||||
lib.strings.concatMapStringsSep "\n" render-dt-param
|
||||
(render-dt-kvs params);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue