This article tell us how to add new fonts in OnlyOffice, one of them is to put the fonts in the ~/.local/share/fonts
, but the fonts must have permissions 644 (-rw-r--r--)
.
I can download the fonts and put the fonts in those folder but how to do that in declarative way? like included in configuration.nix or home.nix if using home-manager? Tried to create link in ~/.local/share/fonts
point to /run/current-system/sw/share/X11/fonts
but none of the fonts is detected in OnlyOffice.