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/ri/river | |
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/ri/river')
-rw-r--r-- | modules/by-name/ri/river/module.nix | 18 |
1 files changed, 18 insertions, 0 deletions
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]; + }; +} |