nix-config/modules/nixvim/qmk.nix
Oliver Davies 9afe0e9271
All checks were successful
/ check (push) Successful in 39s
Enable qmk.nvim plugin
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>
2025-11-06 22:14:26 +00:00

18 lines
467 B
Nix

{
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";
};
};
}