aboutsummaryrefslogtreecommitdiff
path: root/devices/qmk/default.nix
diff options
context:
space:
mode:
authorChris Wells <chris@mathematicaster.org>2025-10-21 10:38:26 -0500
committerChris Wells <chris@mathematicaster.org>2025-10-21 10:38:26 -0500
commit7aa390883104725c64c65d20a0713cfcd654f637 (patch)
treea3a33e5423e9136ad064b48aee0e41966329c1f0 /devices/qmk/default.nix
parente3343bc80dc54416d4e8ee6a60a8e92b630810de (diff)
downloadfw-manager-7aa390883104725c64c65d20a0713cfcd654f637.tar
fw-manager-7aa390883104725c64c65d20a0713cfcd654f637.tar.gz
fw-manager-7aa390883104725c64c65d20a0713cfcd654f637.tar.bz2
fw-manager-7aa390883104725c64c65d20a0713cfcd654f637.tar.lz
fw-manager-7aa390883104725c64c65d20a0713cfcd654f637.tar.xz
fw-manager-7aa390883104725c64c65d20a0713cfcd654f637.tar.zst
fw-manager-7aa390883104725c64c65d20a0713cfcd654f637.zip
More correct dfu-util flash script + rearranged personal devices
Diffstat (limited to 'devices/qmk/default.nix')
-rw-r--r--devices/qmk/default.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/devices/qmk/default.nix b/devices/qmk/default.nix
new file mode 100644
index 0000000..64b92cd
--- /dev/null
+++ b/devices/qmk/default.nix
@@ -0,0 +1,32 @@
+{ lib, ... }:
+let
+ inherit (lib) mkOption types;
+ mkSrc = pkgs: p: pkgs.symlinkJoin {
+ name = "me";
+ paths = [
+ (builtins.path {
+ name = "me";
+ path = p;
+ })
+ (builtins.path {
+ name = "shared";
+ path = ./shared;
+ })
+ ];
+ };
+in {
+ perSystem = { pkgs, ...}: {
+ _module.args.withShared = mkSrc pkgs;
+ imports = [
+ ./f62
+ ./f77
+ ./nk65b
+ ./nk87
+ ./nk_classic_tkl
+ ./steezy60
+ ./xd60
+ ./xd84pro
+ ./xd87
+ ];
+ };
+}