Files
nixos-hardware/rockchip/rk3399/default.nix
2025-02-06 04:19:59 +00:00

21 lines
293 B
Nix

{ lib
, pkgs
, config
, ...
}:
let
cfg = config.hardware.rockchip.rk3399;
in {
imports = [
../.
];
options.hardware.rockchip.rk3399 = {
enable = lib.mkEnableOption "Rockchip RK3399 support";
};
config = lib.mkIf cfg.enable {
hardware.rockchip.enable = true;
};
}