1
0
Fork 0
Automatically updated Nix overlay for Google Fonts https://github.com/DimitarNestorov/nix-google-fonts-overlay
Find a file
Dimitar Nestorov bbdfcf6795
Add deploy key
2022-05-12 18:49:53 +03:00
ci Add deploy key 2022-05-12 18:49:53 +03:00
pkgs Update 2021-12-09 21:01:35 +02:00
.travis.yml Add deploy key 2022-05-12 18:49:53 +03:00
default.nix Initial commit 2019-02-17 14:01:51 +02:00
github_deploy_key.enc Add deploy key 2022-05-12 18:49:53 +03:00
README.md Update nix-google-fonts-gen 2022-05-12 18:17:58 +03: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/dimitarnestorov/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
  ];

  ...
}