1
0
Fork 0
Automatically updated Nix overlay for Google Fonts https://github.com/DimitarNestorov/nix-google-fonts-overlay
Find a file
2019-02-17 19:07:30 +02:00
ci More logging in CI 2019-02-17 19:07:30 +02:00
pkgs Initial commit 2019-02-17 14:01:51 +02:00
.travis.yml Add CI integration 2019-02-17 17:19:21 +02:00
default.nix Initial commit 2019-02-17 14:01:51 +02:00
README.md Update README with usage example 2019-02-17 18:46:44 +02:00

Nix Google Fonts Overlay 🎁

Build Status

967 high-quality fonts packaged for Nix

This Nix overlay contains individual packages for all the fonts from the Google Fonts project. The packages are automatically generated using nix-google-fonts-gen tool. Updated weekly.

Use in NixOS configuration

To use fonts from this overlay as a part of NixOS configuration, something like the following can be used:

{ config, pkgs, lib, ... }:

let
  fontsOverlay = import (
    builtins.fetchTarball https://github.com/Soft/nix-google-fonts-overlay/archive/master.tar.gz
  );
in
{
  nixpkgs.overlays = [ fontsOverlay ];

  fonts.fonts = with pkgs; [
    google-fonts-eb-garamond
    google-fonts-exo
    google-fonts-lobster
  ];

  ...
}