about summary refs log tree commit diff stats
path: root/modules/by-name/ri/river
diff options
context:
space:
mode:
Diffstat (limited to 'modules/by-name/ri/river')
-rw-r--r--modules/by-name/ri/river/module.nix18
1 files changed, 18 insertions, 0 deletions
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];
+  };
+}