From 98c4a597e97ccfd0cbbed0f6c76fbd6a7419a081 Mon Sep 17 00:00:00 2001 From: Charlie Root Date: Mon, 25 Nov 2024 15:41:13 +0100 Subject: [PATCH] fonts.nix: add custom iosevka --- modules/style/fonts.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/modules/style/fonts.nix b/modules/style/fonts.nix index 943364a..a42b1fe 100644 --- a/modules/style/fonts.nix +++ b/modules/style/fonts.nix @@ -1,5 +1,19 @@ {pkgs, ...}: let inherit (builtins) mapAttrs; + + custom-iosevka = pkgs.iosevka.override { + privateBuildPlan = { + family = "Iosevka Custom"; + spacing = "normal"; + serifs = "sans"; + + noCvSs = true; + exportGlyphNames = false; + variants.inherits = "ss15"; + ligations.inherits = "dlig"; + }; + set = "Fancy"; + }; in { # A (somewhat) sane list of fonts to be installed. fonts = { @@ -34,6 +48,7 @@ in { }; }; packages = with pkgs; [ + # custom-iosevka material-icons material-design-icons papirus-icon-theme