fix: try to fix ime in firefox

This commit is contained in:
ryan4yin
2023-05-15 18:58:52 +08:00
parent 2d60de8c72
commit 587d29656c
2 changed files with 20 additions and 1 deletions
+7
View File
@@ -28,6 +28,13 @@
# allow fontconfig to discover fonts and configurations installed through home.packages
fonts.fontconfig.enable = true;
# set cursor size and dpi for 4k monitor
# this is for xwayland
xresources.properties = {
"Xcursor.size" = 16;
"Xft.dpi" = 160;
};
systemd.user.sessionVariables = {
"NIXOS_OZONE_WL" = "1"; # for any ozone-based browser & electron apps to run on wayland
"MOZ_ENABLE_WAYLAND" = "1"; # for firefox to run on wayland