diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-12-30 22:41:00 +0100 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-12-30 22:41:00 +0100 |
commit | 07229574e2e0feef3e4984025d9b2b9a6776f51d (patch) | |
tree | 4e94a2b47fa4f38f98959efae6eb250a4207701b /modules/by-name | |
parent | build(treewide): Update (diff) | |
download | nixos-config-07229574e2e0feef3e4984025d9b2b9a6776f51d.zip |
feat(modules/legacy/river): Add mapping to start `qmk-unicode-type`
That program communicates with my keyboard and sets a Unicode character.
Diffstat (limited to 'modules/by-name')
-rw-r--r-- | modules/by-name/ho/home-manager/module.nix | 2 | ||||
-rw-r--r-- | modules/by-name/ri/river/module.nix | 18 |
2 files changed, 20 insertions, 0 deletions
diff --git a/modules/by-name/ho/home-manager/module.nix b/modules/by-name/ho/home-manager/module.nix index d8b48c1c..f5304170 100644 --- a/modules/by-name/ho/home-manager/module.nix +++ b/modules/by-name/ho/home-manager/module.nix @@ -10,6 +10,7 @@ # TODO: Integrate these <2024-05-22> river_init_lesser, shell_library, + qmk_firmware, # external deps user_js, # modules @@ -43,6 +44,7 @@ in { # bins river_init_lesser shell_library + qmk_firmware # external deps user_js # modules diff --git a/modules/by-name/ri/river/module.nix b/modules/by-name/ri/river/module.nix new file mode 100644 index 00000000..6b9b044a --- /dev/null +++ b/modules/by-name/ri/river/module.nix @@ -0,0 +1,18 @@ +{ + config, + lib, + qmk_firmware, + system, + ... +}: let + cfg = config.soispha.programs.river; +in { + options.soispha.programs.river = { + enable = lib.mkEnableOption "river"; + }; + + config = lib.mkIf cfg.enable { + # TODO: Migrate complete river module <2024-12-30> + services.udev.packages = [qmk_firmware.packages.${system}.qmk_firmware]; + }; +} |