diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-12-09 19:33:09 +0100 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-12-09 19:37:53 +0100 |
commit | fa52496b454343c08195b26353b5c52078c420af (patch) | |
tree | 201290fe9d45cdd1501929f7c5492d6081341d07 /modules/by-name/in/inputMethod | |
parent | fix(modules/ollama): Always use the CPU for ollama (diff) | |
download | nixos-config-fa52496b454343c08195b26353b5c52078c420af.tar.gz nixos-config-fa52496b454343c08195b26353b5c52078c420af.zip |
feat(modules/inputMethod): Init prime
Diffstat (limited to '')
-rw-r--r-- | modules/by-name/in/inputMethod/module.nix | 16 |
1 files changed, 16 insertions, 0 deletions
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"; + }; +} |