about summary refs log tree commit diff stats
path: root/modules/by-name/ri/river/module.nix
blob: 813ed1888df0f819f798367000aae5f73a87e7a8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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_unicode_type];
  };
}