aboutsummaryrefslogtreecommitdiff
path: root/modules/default.nix
diff options
context:
space:
mode:
authorChris Wells <chris@mathematicaster.org>2025-10-18 00:27:05 -0500
committerChris Wells <chris@mathematicaster.org>2025-10-18 00:27:05 -0500
commit22720e4a4ca088bb80dcded6667cec1f5becc0f4 (patch)
treea454918dbd366ec97b74352d8596e4a1f6bb186d /modules/default.nix
parentbf9ccc339a2da236afdbad0fe63eb0c9bcb74d7e (diff)
downloadfw-manager-22720e4a4ca088bb80dcded6667cec1f5becc0f4.tar
fw-manager-22720e4a4ca088bb80dcded6667cec1f5becc0f4.tar.gz
fw-manager-22720e4a4ca088bb80dcded6667cec1f5becc0f4.tar.bz2
fw-manager-22720e4a4ca088bb80dcded6667cec1f5becc0f4.tar.lz
fw-manager-22720e4a4ca088bb80dcded6667cec1f5becc0f4.tar.xz
fw-manager-22720e4a4ca088bb80dcded6667cec1f5becc0f4.tar.zst
fw-manager-22720e4a4ca088bb80dcded6667cec1f5becc0f4.zip
qmk seems to be mostly working. Now working on pinecil
Diffstat (limited to 'modules/default.nix')
-rw-r--r--modules/default.nix18
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
];
};