Merge pull request #295096 from jmbaur/uki-dtb
nixos/uki: add ".dtb" section if devicetree is used
This commit is contained in:
commit
da05945c74
1 changed files with 2 additions and 0 deletions
|
@ -75,6 +75,8 @@ in
|
|||
OSRelease = lib.mkOptionDefault "@${config.system.build.etc}/etc/os-release";
|
||||
# This is needed for cross compiling.
|
||||
EFIArch = lib.mkOptionDefault efiArch;
|
||||
} // lib.optionalAttrs (config.hardware.deviceTree.enable && config.hardware.deviceTree.name != null) {
|
||||
DeviceTree = lib.mkOptionDefault "${config.hardware.deviceTree.package}/${config.hardware.deviceTree.name}";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue