1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-14 18:21:41 +03:00

xiaomi-tissot: Fix for new kernel package option

This commit is contained in:
Samuel Dionne-Riel 2020-05-24 18:39:58 -04:00
parent 1639060ab9
commit adc157f0c0

View File

@ -7,11 +7,6 @@
manufacturer = "Xiaomi"; manufacturer = "Xiaomi";
}; };
mobile.device.info = {
# TODO : make kernel part of options.
kernel = pkgs.callPackage ./kernel { kernelPatches = pkgs.defaultKernelPatches; };
};
mobile.hardware = { mobile.hardware = {
soc = "qualcomm-msm8953"; soc = "qualcomm-msm8953";
ram = 1024 * 4; ram = 1024 * 4;
@ -20,6 +15,10 @@
}; };
}; };
mobile.boot.stage-1 = {
kernel.package = pkgs.callPackage ./kernel { kernelPatches = pkgs.defaultKernelPatches; };
};
mobile.system.android = { mobile.system.android = {
bootimg.flash = { bootimg.flash = {
offset_base = "0x80000000"; offset_base = "0x80000000";