about summary refs log tree commit diff stats
path: root/modules/by-name/in/inputMethod/module.nix
blob: 76fcaaeefa7669e5fe5e6a44f3f43ba1434d0414 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
  config,
  lib,
  ...
}: let
  cfg = config.soispha.services.inputMethod;
in {
  options.soispha.services.inputMethod = {
    enable = lib.mkEnableOption "inputMethod";
  };

  config.i18n.inputMethod = lib.mkIf cfg.enable {
    enable = true;
    type = "ibus";
  };
}