1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-02 23:21:02 +01:00

i18n.inputMethod: align enable option with nixos

see: https://github.com/NixOS/nixpkgs/pull/310708
This commit is contained in:
awwpotato 2025-04-22 17:16:13 -07:00 committed by Austin Horstman
parent 7ef3137035
commit 585bae4bbb
11 changed files with 89 additions and 23 deletions

View file

@ -7,6 +7,7 @@
let
cfg = config.i18n.inputMethod.uim;
im = config.i18n.inputMethod;
in
{
options = {
@ -30,7 +31,7 @@ in
};
config = lib.mkIf (config.i18n.inputMethod.enabled == "uim") {
config = lib.mkIf (im.enable && im.type == "uim") {
i18n.inputMethod.package = pkgs.uim;
home.sessionVariables = {