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:
parent
7ef3137035
commit
585bae4bbb
11 changed files with 89 additions and 23 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue