meow
This commit is contained in:
parent
7dd32c7a17
commit
1a4ef774e4
13 changed files with 26 additions and 140 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue