Context
ryanoasis/nerd-fonts#2050 merged 2026-07-31: adds Google Sans Code to nerd-fonts.
Not yet in nixpkgs: nixpkgs still packages nerd-fonts v3.4.0 (released 2025-04-24), which predates the merge. pkgs.nerd-fonts.google-sans-code does not exist in the pinned nixos-unstable (2026-07-29).
What to do
When a nerd-fonts release ≥ next (v3.5.0+) ships GoogleSansCode and nixpkgs bumps to it:
- Change
modules/aspects/style.nix stylix.fonts.monospace (and optionally sansSerif/serif) default:
- package:
pkgs.nerd-fonts.google-sans-code
- name:
GoogleSansCode Nerd Font Mono (monospace) / GoogleSansCode Nerd Font (sans/serif)
- Verify the attr name with
nix search nixpkgs google-sans-code before editing.
Trigger
Watch the nerd-fonts repo Releases only: GitHub → ryanoasis/nerd-fonts → Watch → Custom → check Releases. A new tag (v3.5.0+) is the signal; then confirm nixpkgs bump via nh search / search.nixos.org.
Context
ryanoasis/nerd-fonts#2050 merged 2026-07-31: adds Google Sans Code to nerd-fonts.
Not yet in nixpkgs: nixpkgs still packages nerd-fonts v3.4.0 (released 2025-04-24), which predates the merge.
pkgs.nerd-fonts.google-sans-codedoes not exist in the pinnednixos-unstable(2026-07-29).What to do
When a nerd-fonts release ≥ next (v3.5.0+) ships GoogleSansCode and nixpkgs bumps to it:
modules/aspects/style.nixstylix.fonts.monospace(and optionally sansSerif/serif) default:pkgs.nerd-fonts.google-sans-codeGoogleSansCode Nerd Font Mono(monospace) /GoogleSansCode Nerd Font(sans/serif)nix search nixpkgs google-sans-codebefore editing.Trigger
Watch the nerd-fonts repo Releases only: GitHub → ryanoasis/nerd-fonts → Watch → Custom → check Releases. A new tag (v3.5.0+) is the signal; then confirm nixpkgs bump via
nh search/ search.nixos.org.