From fa52496b454343c08195b26353b5c52078c420af Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Mon, 9 Dec 2024 19:33:09 +0100 Subject: feat(modules/inputMethod): Init --- modules/by-name/in/inputMethod/module.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 modules/by-name/in/inputMethod/module.nix (limited to 'modules/by-name/in/inputMethod') diff --git a/modules/by-name/in/inputMethod/module.nix b/modules/by-name/in/inputMethod/module.nix new file mode 100644 index 00000000..76fcaaee --- /dev/null +++ b/modules/by-name/in/inputMethod/module.nix @@ -0,0 +1,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"; + }; +} -- cgit 1.4.1