https://github.com/soft/nix-google-fonts-overlay
Automatically updated Nix overlay for Google Fonts
https://github.com/soft/nix-google-fonts-overlay
fonts google-fonts nix nixos nixpkgs overlay packaging repository
Last synced: about 4 hours ago
JSON representation
Automatically updated Nix overlay for Google Fonts
- Host: GitHub
- URL: https://github.com/soft/nix-google-fonts-overlay
- Owner: Soft
- Created: 2019-02-16T09:29:16.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-12-09T19:01:54.000Z (over 4 years ago)
- Last Synced: 2025-09-18T23:33:07.154Z (9 months ago)
- Topics: fonts, google-fonts, nix, nixos, nixpkgs, overlay, packaging, repository
- Language: Nix
- Size: 688 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nix Google Fonts Overlay 🎁
[](https://travis-ci.org/Soft/nix-google-fonts-overlay)
**967 high-quality fonts packaged for Nix**
This [Nix overlay](https://nixos.org) contains individual packages for all the
fonts from the [Google Fonts project](https://github.com/google/fonts). The
packages are automatically generated using
[nix-google-fonts-gen](https://github.com/Soft/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:
``` nix
{ 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
];
...
}
```