Here is a patch to give an example how to use font.extraFonts

Index: modules/config/fonts.nix
===================================================================
--- modules/config/fonts.nix    (revision 21811)
+++ modules/config/fonts.nix    (working copy)
@@ -73,6 +73,7 @@

       extraFonts = mkOption {
         default = [];
+        example = [ pkgs.dejavu_fonts ];
         description = ''
           List of additional fonts.
         '';

--
Russell O'Connor                                      <http://r6.ca/>
``All talk about `theft,''' the general counsel of the American Graphophone
Company wrote, ``is the merest claptrap, for there exists no property in
ideas musical, literary or artistic, except as defined by statute.''
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to