diff --git a/nix/configurations/tungsten/home/misc.nix b/nix/configurations/tungsten/home/misc.nix index c3bcbe1a..3b8cd6b0 100644 --- a/nix/configurations/tungsten/home/misc.nix +++ b/nix/configurations/tungsten/home/misc.nix @@ -44,7 +44,10 @@ ; }; xresources.properties."Xft.dpi" = 92; - i18n.inputMethod.enabled = "fcitx5"; + i18n.inputMethod = { + enable = true; + type = "fcitx5"; + }; # Disable the blueman pop up persistently # https://github.com/blueman-project/blueman/issues/1556#issuecomment-882857426 diff --git a/nix/configurations/vanadium/home/misc.nix b/nix/configurations/vanadium/home/misc.nix index cd8a1a36..19bf3148 100644 --- a/nix/configurations/vanadium/home/misc.nix +++ b/nix/configurations/vanadium/home/misc.nix @@ -28,7 +28,6 @@ pkgs.last-resort ]; - home.file = { ".xscreensaver".source = "${./xscreensaver/.xscreensaver}"; }; @@ -47,7 +46,10 @@ ; }; xresources.properties."Xft.dpi" = 150; - i18n.inputMethod.enabled = "fcitx5"; + i18n.inputMethod = { + enable = true; + type = "fcitx5"; + }; # Disable the blueman pop up persistently # https://github.com/blueman-project/blueman/issues/1556#issuecomment-882857426 diff --git a/nix/homeModules/common/fcitx5/default.nix b/nix/homeModules/common/fcitx5/default.nix index 0777d773..6d698fbd 100644 --- a/nix/homeModules/common/fcitx5/default.nix +++ b/nix/homeModules/common/fcitx5/default.nix @@ -11,7 +11,7 @@ ]; }; - xdg.configFile = lib.mkIf (config.i18n.inputMethod.enabled != null) { + xdg.configFile = lib.mkIf config.i18n.inputMethod.enable { "fcitx5".source = "${./fcitx}"; }; }