1
0
Fork 0
Automatically updated Nix overlay for Google Fonts https://github.com/DimitarNestorov/nix-google-fonts-overlay
Find a file
2022-05-17 01:36:23 +00:00
ci Update commit message 2022-05-13 16:01:44 +03:00
pkgs [Travis CI] Automatic update 2022-05-17 (Build 13) 2022-05-17 01:36:23 +00:00
.gitignore Add deploy key to .gitignore 2022-05-13 15:30:56 +03:00
.travis.yml Add deploy key 2022-05-12 18:49:53 +03:00
default.nix [Travis CI] Automatic update 2022-05-13 (Build 10) 2022-05-13 13:11:42 +00:00
flake.nix Add flake.nix 2022-05-13 17:39:39 +03:00
github_deploy_key.enc Update deploy key 2022-05-13 16:01:37 +03:00
README.md [Travis CI] Automatic update 2022-05-13 (Build 10) 2022-05-13 13:11:42 +00:00

Nix Google Fonts Overlay 🎁

Build Status

1516 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
  ];

  ...
}