From 07229574e2e0feef3e4984025d9b2b9a6776f51d Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Mon, 30 Dec 2024 22:41:00 +0100 Subject: feat(modules/legacy/river): Add mapping to start `qmk-unicode-type` That program communicates with my keyboard and sets a Unicode character. --- modules/by-name/ri/river/module.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 modules/by-name/ri/river/module.nix (limited to 'modules/by-name/ri/river/module.nix') 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]; + }; +} -- cgit 1.4.1