Unverified Commit da05945c authored by nikstur's avatar nikstur Committed by GitHub
Browse files

Merge pull request #295096 from jmbaur/uki-dtb

nixos/uki: add ".dtb" section if devicetree is used
parents 712867be 2837c0d9
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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}";
      };
    };