1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-15 19:23:01 +03:00
mobile-nixos/modules/hardware-qualcomm.nix

19 lines
392 B
Nix
Raw Normal View History

{ config, lib, pkgs, ... }:
with lib;
{
options.mobile = {
hardware.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 = config.mobile.hardware.qualcomm.msm8939.enable;
};
}