i18n: use i18n.inputMethod.{enable,type}

This commit is contained in:
Primrose 2025-05-19 10:16:16 +02:00
parent 1d5bfa01dd
commit 22dbd0089f
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
3 changed files with 9 additions and 4 deletions

View file

@ -44,7 +44,10 @@
; ;
}; };
xresources.properties."Xft.dpi" = 92; xresources.properties."Xft.dpi" = 92;
i18n.inputMethod.enabled = "fcitx5"; i18n.inputMethod = {
enable = true;
type = "fcitx5";
};
# Disable the blueman pop up persistently # Disable the blueman pop up persistently
# https://github.com/blueman-project/blueman/issues/1556#issuecomment-882857426 # https://github.com/blueman-project/blueman/issues/1556#issuecomment-882857426

View file

@ -28,7 +28,6 @@
pkgs.last-resort pkgs.last-resort
]; ];
home.file = { home.file = {
".xscreensaver".source = "${./xscreensaver/.xscreensaver}"; ".xscreensaver".source = "${./xscreensaver/.xscreensaver}";
}; };
@ -47,7 +46,10 @@
; ;
}; };
xresources.properties."Xft.dpi" = 150; xresources.properties."Xft.dpi" = 150;
i18n.inputMethod.enabled = "fcitx5"; i18n.inputMethod = {
enable = true;
type = "fcitx5";
};
# Disable the blueman pop up persistently # Disable the blueman pop up persistently
# https://github.com/blueman-project/blueman/issues/1556#issuecomment-882857426 # https://github.com/blueman-project/blueman/issues/1556#issuecomment-882857426

View file

@ -11,7 +11,7 @@
]; ];
}; };
xdg.configFile = lib.mkIf (config.i18n.inputMethod.enabled != null) { xdg.configFile = lib.mkIf config.i18n.inputMethod.enable {
"fcitx5".source = "${./fcitx}"; "fcitx5".source = "${./fcitx}";
}; };
} }