From 6ed56174a6d9d87e771a1e7b02d6289ffa21c9e0 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Mon, 30 Dec 2024 23:39:01 +0100 Subject: fix(modules/river): Only activate the moonlander udev rules on tiamat --- modules/by-name/ri/river/module.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'modules') 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]; }; } -- cgit 1.4.1