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 commitf83da7d9bd
)
This commit is contained in:
parent
155e085d1f
commit
fba9b6486e
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue