mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-12-17 13:10:29 +03:00
a3a4a44704
Regression: fb.modes isn't copied anymore
22 lines
422 B
Nix
22 lines
422 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
let
|
|
cfg = config.mobile.hardware.socs;
|
|
in
|
|
{
|
|
options.mobile = {
|
|
hardware.socs.qualcomm-msm8939.enable = mkOption {
|
|
type = types.bool;
|
|
default = false;
|
|
description = "enable when SOC is msm8939";
|
|
};
|
|
};
|
|
|
|
config = {
|
|
# TODO : more generic than msm8939.enable.
|
|
mobile.quirks.qualcomm.msm-fb-refresher.enable = cfg.qualcomm-msm8939.enable;
|
|
};
|
|
}
|