about summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-12-30 23:39:01 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-12-30 23:39:01 +0100
commit6ed56174a6d9d87e771a1e7b02d6289ffa21c9e0 (patch)
tree1002078cc1aa6d0f4f6901ee95b312e485b1ef4d /modules
parentstyle(treewide): Format (diff)
downloadnixos-config-6ed56174a6d9d87e771a1e7b02d6289ffa21c9e0.zip
fix(modules/river): Only activate the moonlander udev rules on tiamat
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];
   };
 }