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

14 commits

Author SHA1 Message Date
Lin Jian
dd88d7868c nixos/kmonad: avoid running an unnecessary bash
(cherry picked from commit c3588cf2c5)
2025-01-02 23:23:15 +00:00
Lin Jian
cca8a5caa2 nixos/kmonad: remove unnecessary cli flag --input
input has already been set in the config file.

(cherry picked from commit ed3f112a0e)
2025-01-02 23:23:15 +00:00
Lin Jian
27d3b1b157
nixos/kmonad: create determinate symlinks
(cherry picked from commit 9695e75dde)

The 25.05 release note is manually removed.
2025-01-03 02:30:08 +08:00
Lin Jian
433f87137f
[Backport release-24.11] nixos/kmonad: misc improvements (#370010) 2025-01-02 02:02:46 +08:00
Lin Jian
058a665d0c
nixos/kmonad: use lib.getExe
(cherry picked from commit 8463300edf)
2025-01-02 01:48:52 +08:00
Lin Jian
fba9b6486e
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)
2025-01-02 01:48:44 +08:00
Lin Jian
155e085d1f
nixos/kmonad: introduce a new helper function mkName
(cherry picked from commit 28a1740fd1)
2025-01-02 01:48:36 +08:00
Lin Jian
22ebf019dd
nixos/kmonad: make type of delay more strict
(cherry picked from commit 657ff03cc3)
2025-01-02 01:48:29 +08:00
Lin Jian
a4054a06e5
nixos/kmonad: simplify config for default keyboard name
(cherry picked from commit 23768e2a12)
2025-01-02 01:48:21 +08:00
Lin Jian
f5c476c368
nixos/kmonad: improve doc
(cherry picked from commit cbf4f6a86d)
2025-01-02 01:48:05 +08:00
Lin Jian
b86c19dad1
nixos/kmonad: add meta.maintainers
(cherry picked from commit ffea31ccbb)
2025-01-02 01:47:52 +08:00
Lin Jian
ced3bf7175 nixos/kmonad: make sure new config is used after nixos-rebuild switch
(cherry picked from commit 280715cf39)
2025-01-01 17:40:23 +00:00
Silvan Mosberger
d9d87c5196 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \
      --argstr baseRev 0128fbb0a5
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:29:24 +01:00
r-vdp
c9160efd81
nixos/kmonad: init 2024-10-18 11:47:26 +02:00