mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-12-04 23:13:29 +01:00
rockchip/rk3328: init
This commit is contained in:
1 parent
9d5dedae84
commit
76a98e3958
2 files changed
+17
No files matched your search
@@ -7,6 +7,7 @@ let
|
|||||||
cfg = config.hardware.rockchip;
|
cfg = config.hardware.rockchip;
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
|
./rk3328
|
||||||
./rk3399
|
./rk3399
|
||||||
./rk3588
|
./rk3588
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -0,0 +1,16 @@
|
|||||||
|
{ lib
|
||||||
|
, pkgs
|
||||||
|
, config
|
||||||
|
, ...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
cfg = config.hardware.rockchip.rk3328;
|
||||||
|
in {
|
||||||
|
options.hardware.rockchip.rk3328 = {
|
||||||
|
enable = lib.mkEnableOption "Rockchip RK3328 support";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
hardware.rockchip.enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in new issue
Block a user