about summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/by-name/ri/river/module.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/modules/by-name/ri/river/module.nix b/modules/by-name/ri/river/module.nix
index 813ed188..a059da4d 100644
--- a/modules/by-name/ri/river/module.nix
+++ b/modules/by-name/ri/river/module.nix
@@ -9,10 +9,13 @@
 in {
   options.soispha.programs.river = {
     enable = lib.mkEnableOption "river";
+    unicodeInput = {
+      enable = lib.mkEnableOption "udev rules for rawhid based unicode input";
+    };
   };
 
   config = lib.mkIf cfg.enable {
-    # TODO: Migrate complete river module <2024-12-30>
-    services.udev.packages = [qmk_firmware.packages.${system}.qmk_unicode_type];
+    # TODO: Migrate the complete river module <2024-12-30>
+    services.udev.packages = lib.mkIf cfg.unicodeInput.enable [qmk_firmware.packages.${system}.qmk_unicode_type];
   };
 }