From e9b5bf352bb7fe0ab8ad8a1c4f6347dd759830ed Mon Sep 17 00:00:00 2001 From: lucy Date: Fri, 3 Jul 2026 23:17:14 +0200 Subject: [PATCH 1/5] add iosevka custom to config.nix --- configuration.nix | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index 41eacd1..ae84e15 100644 --- a/configuration.nix +++ b/configuration.nix @@ -82,7 +82,42 @@ noto-fonts noto-fonts-cjk-sans noto-fonts-color-emoji - iosevka + (iosevka.override { + set = "custom"; + privateBuildPlan = '' + [buildPlans.IosevkaCustom] + family = "Iosevka Custom" + spacing = "fontconfig-mono" + serifs = "slab" + noCvSs = true + exportGlyphNames = false + + [buildPlans.IosevkaCustom.variants] + inherits = "ss12" + + [buildPlans.IosevkaCustom.weights.Regular] + shape = 400 + menu = 400 + css = 400 + + [buildPlans.IosevkaCustom.weights.Bold] + shape = 700 + menu = 700 + css = 700 + + [buildPlans.IosevkaCustom.slopes.Upright] + angle = 0 + shape = "upright" + menu = "upright" + css = "normal" + + [buildPlans.IosevkaCustom.slopes.Italic] + angle = 9.4 + shape = "italic" + menu = "italic" + css = "italic" + ''; + }) nerd-fonts.symbols-only ]; users.users."lucy" = { From dfeaa433c304b57329034a2646d625169a29f3bb Mon Sep 17 00:00:00 2001 From: lucy Date: Fri, 3 Jul 2026 23:20:11 +0200 Subject: [PATCH 2/5] fix typo --- configuration.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index ae84e15..6b3b2f3 100644 --- a/configuration.nix +++ b/configuration.nix @@ -83,7 +83,7 @@ noto-fonts-cjk-sans noto-fonts-color-emoji (iosevka.override { - set = "custom"; + set = "Custom"; privateBuildPlan = '' [buildPlans.IosevkaCustom] family = "Iosevka Custom" From e96fcfcc1610fac8f2fc02f600ac3a7390d5a66b Mon Sep 17 00:00:00 2001 From: lucy Date: Fri, 3 Jul 2026 23:24:57 +0200 Subject: [PATCH 3/5] add iosevkaCustom to home.nix --- stylix.nix | 39 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/stylix.nix b/stylix.nix index acc9a7c..43ce134 100644 --- a/stylix.nix +++ b/stylix.nix @@ -49,7 +49,44 @@ name = config.stylix.fonts.monospace.name; }; monospace = { - package = pkgs.iosevka; + package = ( + pkgs.iosevka.override { + set = "Custom"; + privateBuildPlan = '' + [buildPlans.IosevkaCustom] + family = "Iosevka Custom" + spacing = "fontconfig-mono" + serifs = "slab" + noCvSs = true + exportGlyphNames = false + + [buildPlans.IosevkaCustom.variants] + inherits = "ss12" + + [buildPlans.IosevkaCustom.weights.Regular] + shape = 400 + menu = 400 + css = 400 + + [buildPlans.IosevkaCustom.weights.Bold] + shape = 700 + menu = 700 + css = 700 + + [buildPlans.IosevkaCustom.slopes.Upright] + angle = 0 + shape = "upright" + menu = "upright" + css = "normal" + + [buildPlans.IosevkaCustom.slopes.Italic] + angle = 9.4 + shape = "italic" + menu = "italic" + css = "italic" + ''; + } + ); name = "Iosevka"; }; From 900b0e9406c5f20474e2b692658d137f0ed4b136 Mon Sep 17 00:00:00 2001 From: lucy Date: Fri, 3 Jul 2026 23:30:01 +0200 Subject: [PATCH 4/5] fix maybe? --- stylix.nix | 41 ++--------------------------------------- 1 file changed, 2 insertions(+), 39 deletions(-) diff --git a/stylix.nix b/stylix.nix index 43ce134..6df2aad 100644 --- a/stylix.nix +++ b/stylix.nix @@ -49,45 +49,8 @@ name = config.stylix.fonts.monospace.name; }; monospace = { - package = ( - pkgs.iosevka.override { - set = "Custom"; - privateBuildPlan = '' - [buildPlans.IosevkaCustom] - family = "Iosevka Custom" - spacing = "fontconfig-mono" - serifs = "slab" - noCvSs = true - exportGlyphNames = false - - [buildPlans.IosevkaCustom.variants] - inherits = "ss12" - - [buildPlans.IosevkaCustom.weights.Regular] - shape = 400 - menu = 400 - css = 400 - - [buildPlans.IosevkaCustom.weights.Bold] - shape = 700 - menu = 700 - css = 700 - - [buildPlans.IosevkaCustom.slopes.Upright] - angle = 0 - shape = "upright" - menu = "upright" - css = "normal" - - [buildPlans.IosevkaCustom.slopes.Italic] - angle = 9.4 - shape = "italic" - menu = "italic" - css = "italic" - ''; - } - ); - name = "Iosevka"; + package = null; + name = "Iosevka Custom"; }; emoji = { From 7abf1c9ddc20986341d7dbc86fed490c4da4e7d2 Mon Sep 17 00:00:00 2001 From: lucy Date: Fri, 3 Jul 2026 23:31:02 +0200 Subject: [PATCH 5/5] fix maybe? --- stylix.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/stylix.nix b/stylix.nix index 6df2aad..c7eb6e5 100644 --- a/stylix.nix +++ b/stylix.nix @@ -49,7 +49,6 @@ name = config.stylix.fonts.monospace.name; }; monospace = { - package = null; name = "Iosevka Custom"; };