This commit is contained in:
Lucy von Overheidt 2025-09-09 23:49:00 +02:00
parent 7dd32c7a17
commit 1a4ef774e4
13 changed files with 26 additions and 140 deletions

View file

@ -1,15 +1,4 @@
{ pkgs, ... }:
let
# Fetch the JSON file and read its content
fontsJson = builtins.fetchurl {
url = "https://raw.githubusercontent.com/NixOS/nixpkgs/nixos-unstable/pkgs/data/fonts/nerd-fonts/manifests/fonts.json";
sha256 = "1kdmk4ayckixxckxbik9jg4fdqqgm7s5x1lvzd95v1g09bhn33wg";
};
# Parse the JSON and extract package names
fonts = builtins.fromJSON (builtins.readFile fontsJson);
packageNames = map (font: font.package) fonts;
in
{
fonts.packages = with pkgs; [
iosevka