diff options
Diffstat (limited to 'modules/by-name')
-rw-r--r-- | modules/by-name/ho/home-manager/module.nix | 2 | ||||
-rw-r--r-- | modules/by-name/ri/river/module.nix | 18 |
2 files changed, 20 insertions, 0 deletions
diff --git a/modules/by-name/ho/home-manager/module.nix b/modules/by-name/ho/home-manager/module.nix index d8b48c1c..f5304170 100644 --- a/modules/by-name/ho/home-manager/module.nix +++ b/modules/by-name/ho/home-manager/module.nix @@ -10,6 +10,7 @@ # TODO: Integrate these <2024-05-22> river_init_lesser, shell_library, + qmk_firmware, # external deps user_js, # modules @@ -43,6 +44,7 @@ in { # bins river_init_lesser shell_library + qmk_firmware # external deps user_js # modules 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]; + }; +} |