fix: rename and track Nomarchy.ttf font for flake build

This commit is contained in:
Bernardo Magri
2026-04-13 12:34:15 +01:00
parent 6f4741c060
commit 8e4e801244
5 changed files with 7 additions and 5 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -4,11 +4,13 @@ let
nomarchy-font = pkgs.stdenv.mkDerivation {
pname = "nomarchy-font";
version = "1.0";
# Pull from core/home/config where the ttf is located
src = ./../home/config;
# Point directly to the font file
src = ./../home/config/Nomarchy.ttf;
# No archive to unpack
unpackPhase = "true";
installPhase = ''
mkdir -p $out/share/fonts/truetype
cp nomarchy.ttf $out/share/fonts/truetype/
cp $src $out/share/fonts/truetype/Nomarchy.ttf
'';
};
in

View File

@@ -38,7 +38,7 @@
"custom/nomarchy": {
"interval": "once",
"format": "<span font='nomarchy'>a</span>",
"format": "\uf000",
"on-click": "nomarchy-menu",
"tooltip-format": "Application Launcher"
},

View File

@@ -28,7 +28,7 @@
/* Spacing inside the element */
* {
font-family: JetBrainsMono Nerd Font, FontAwesome;
font-family: JetBrainsMono Nerd Font, FontAwesome, Nomarchy;
font-size: 13px;
font-weight: bold;
}