diff options
Diffstat (limited to 'modules/default.nix')
| -rw-r--r-- | modules/default.nix | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/modules/default.nix b/modules/default.nix index c1c2646..dea6fb3 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -12,23 +12,23 @@ in { # ]; options.perSystem = mkPerSystemOption ({ pkgs, system, config, ... }: { - # options.firmware = mkOption { - # default = {}; - # type = types.submodule { - # options = { - options.devices = mkOption { default = {}; type = types.lazyAttrsOf <| types.submoduleWith { shorthandOnlyDefinesConfig = true; modules = [ - ({ name, ... }: { + { _module.args = { - inherit pkgs lib flake-parts-lib; + inherit pkgs lib; }; + } + ({ name, ... }: { + # _module.args = { + # inherit pkgs lib flake-parts-lib; + # }; options = { enable = mkEnableOption name // { default = true; }; - firmware.type = mkOption { + type = mkOption { type = types.enum [ ]; description = '' Firmware type. Extensible for other firmwares. @@ -47,7 +47,7 @@ in { }; }) - ./qmk + ./qmk.nix ]; }; |
