0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 14:10:33 +03:00

nixos/kmonad: use the official suffix for config file

Both the official Emacs[1] and Vim[2] plugins use kbd as the config file
suffix.

[1]: b07f3e1604/kbd-mode.el (L275)
[2]: 3797844519/ftdetect/kbd.vim (L18)

(cherry picked from commit f83da7d9bd)
This commit is contained in:
Lin Jian 2025-01-01 07:02:22 +08:00
parent 155e085d1f
commit fba9b6486e
No known key found for this signature in database
GPG key ID: A6698D36434F75A5

View file

@ -94,7 +94,7 @@ let
'';
in
pkgs.writeTextFile {
name = "${mkName keyboard.name}.cfg";
name = "${mkName keyboard.name}.kbd";
text = lib.optionalString keyboard.defcfg.enable (defcfg + "\n") + keyboard.config;
checkPhase = "${cfg.package}/bin/kmonad -d $out";
};