Enable qmk.nvim plugin
All checks were successful
/ check (push) Successful in 39s

Add the qmk.nvim plugin to automatically format and update ZMK and QMK
keyboard layouts in their configuration files.

GitHub repo: https://github.com/codethread/qmk.nvim
YouTube video by linkarzu: https://www.youtube.com/watch?v=menWdCt3Go0

Commit after formatting:
https://code.oliverdavies.uk/opdavies/glove80-zmk-config/commit/fb674

Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
This commit is contained in:
Oliver Davies 2025-11-06 22:14:26 +00:00
parent d28cc18342
commit 9afe0e9271
2 changed files with 19 additions and 0 deletions

18
modules/nixvim/qmk.nix Normal file
View file

@ -0,0 +1,18 @@
{
flake.modules.nixvim.custom.plugins.qmk = {
enable = true;
settings = {
layout = [
"x x x x x _ _ _ _ _ _ _ _ _ x x x x x"
"x x x x x x _ _ _ _ _ _ _ x x x x x x"
"x x x x x x _ _ _ _ _ _ _ x x x x x x"
"x x x x x x _ _ _ _ _ _ _ x x x x x x"
"x x x x x x x x x _ x x x x x x x x x"
"x x x x x _ x x x _ x x x _ x x x x x"
];
name = "LAYOUT_glove80";
variant = "zmk";
};
};
}

View file

@ -11,6 +11,7 @@
comment
css
csv
devicetree
dockerfile
gitattributes
gitignore