[Nix-dev] patch for font documentation

roconnor at theorem.ca roconnor at theorem.ca
Mon May 17 15:57:50 CEST 2010


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.''



More information about the nix-dev mailing list