Skip to content

Commit

Permalink
NixOS font bug docs
Browse files Browse the repository at this point in the history
  • Loading branch information
atterpac committed Feb 19, 2024
1 parent 1b75f12 commit cb74131
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions 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/";
'';
```

0 comments on commit cb74131

Please sign in to comment.