mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-08 19:46:10 +01:00
rockchip/rk3399: reverse dependency order
This order works better when we have more SoCs.
This commit is contained in:
parent
099d38a69e
commit
80340dcf86
3 changed files with 6 additions and 6 deletions
|
|
@ -9,7 +9,7 @@ let
|
|||
in {
|
||||
imports = [
|
||||
../.
|
||||
../../rockchip/rk3399
|
||||
../../rockchip
|
||||
];
|
||||
|
||||
options.hardware.radxa.rock-4c-plus = {
|
||||
|
|
|
|||
|
|
@ -6,6 +6,10 @@
|
|||
let
|
||||
cfg = config.hardware.rockchip;
|
||||
in {
|
||||
imports = [
|
||||
./rk3399
|
||||
];
|
||||
|
||||
options.hardware.rockchip = {
|
||||
enable = lib.mkEnableOption "Rockchip SoC support";
|
||||
diskoImageName = lib.mkOption {
|
||||
|
|
|
|||
|
|
@ -6,12 +6,8 @@
|
|||
let
|
||||
cfg = config.hardware.rockchip.rk3399;
|
||||
in {
|
||||
imports = [
|
||||
../.
|
||||
];
|
||||
|
||||
options.hardware.rockchip.rk3399 = {
|
||||
enable = lib.mkEnableOption "Rockchip RK3399 support";
|
||||
enable = lib.mkEnableOption "Rockchip RK3399 support";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue