Fonts: Difference between revisions

imported>Wtok
Add section explaining how installing fonts on NixOS is done
imported>Srhb
mNo edit summary
Line 3: Line 3:
NixOS has many font packages available, and you can easily search for your favourites on the [https://nixos.org/nixos/packages.html# NixOS packages site].  
NixOS has many font packages available, and you can easily search for your favourites on the [https://nixos.org/nixos/packages.html# NixOS packages site].  


Despite looking like normal packages, simply adding these font packages to your <code>environment.systemPackages</code> won't make the fonts accessible to applications. To achieve that, put these packages in the <code>fonts.fonts</code> array instead.
Despite looking like normal packages, simply adding these font packages to your <code>environment.systemPackages</code> won't make the fonts accessible to applications. To achieve that, put these packages in the <code>fonts.fonts</code> list instead.


For example:  
For example: