2018-06-13 02:14:55 +03:00
|
|
|
{
|
2018-06-13 04:47:00 +03:00
|
|
|
pkgs,
|
2018-06-13 02:14:55 +03:00
|
|
|
lib,
|
2018-06-13 04:47:00 +03:00
|
|
|
...
|
2018-06-13 02:14:55 +03:00
|
|
|
}:
|
|
|
|
let
|
|
|
|
config = (lib.importJSON ../postmarketOS-devices.json).asus-z00t;
|
|
|
|
in
|
|
|
|
config // {
|
|
|
|
name = config.pm_name;
|
2018-06-13 04:47:00 +03:00
|
|
|
stage-1 = {
|
2018-06-13 02:14:55 +03:00
|
|
|
fb_modes = ./fb.modes;
|
2018-06-13 04:47:00 +03:00
|
|
|
packages = with pkgs; [
|
|
|
|
strace
|
|
|
|
msm-fb-refresher
|
|
|
|
];
|
|
|
|
initFramebuffer = ''
|
|
|
|
msm-fb-refresher --loop &
|
|
|
|
echo 10 > /sys/class/leds/lcd-backlight/brightness
|
|
|
|
'';
|
2018-06-13 02:14:55 +03:00
|
|
|
};
|
|
|
|
}
|