From cb74131adef59fa163e4a5c2e1899f8ad77910ae Mon Sep 17 00:00:00 2001 From: atterpac Date: Mon, 19 Feb 2024 11:38:27 -0700 Subject: [PATCH] NixOS font bug docs --- website/docs/guides/nixos-font.mdx | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 website/docs/guides/nixos-font.mdx diff --git a/website/docs/guides/nixos-font.mdx b/website/docs/guides/nixos-font.mdx new file mode 100644 index 00000000000..e19e49d4e1d --- /dev/null +++ b/website/docs/guides/nixos-font.mdx @@ -0,0 +1,10 @@ +# NixOS FontSize + +NixOS/Wayland can cause a bug where the `font-size` css property does affect the rendered page. To fix this add the following to your devShell. + +```shell + shellHook = with pkgs; '' + export XDG_DATA_DIRS=${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}:${gtk3}/share/gsettings-schemas/${gtk3.name}:$XDG_DATA_DIRS; + export GIO_MODULE_DIR="${pkgs.glib-networking}/lib/gio/modules/"; + ''; +```