From e2ff84273f252a98992bca26212871d94ab173ca Mon Sep 17 00:00:00 2001 From: Benson Chu Date: Mon, 20 Apr 2026 05:51:17 -0500 Subject: [PATCH] Apparently this will make fonts available --- flake.nix | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 76a3d58..6b490e2 100644 --- a/flake.nix +++ b/flake.nix @@ -95,12 +95,26 @@ devShells."${system}" = rec { emacs-min = pkgs.mkShell { packages = with pkgs; [ - emacs + myEmacs git libtool cmake gcc gnumake - roboto-mono ripgrep + ripgrep + + fontconfig + commit-mono + roboto-mono ]; + + shellHook = '' + export FONTCONFIG_FILE="${ + pkgs.makeFontsConf { + fontDirectories = with pkgs; [ + commit-mono + roboto-mono + ]; + }}" + ''; }; emacs-devel = pkgs.mkShell {