From e930cef113f65722d9b859ffc44b0b63622e41e0 Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Thu, 10 Apr 2025 22:26:59 -0500 Subject: tamzen wrapper for st on librex60 --- modules/hosts/libreX60/configuration.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'modules/hosts/libreX60/configuration.nix') diff --git a/modules/hosts/libreX60/configuration.nix b/modules/hosts/libreX60/configuration.nix index d736763..e1fa6fd 100644 --- a/modules/hosts/libreX60/configuration.nix +++ b/modules/hosts/libreX60/configuration.nix @@ -19,5 +19,18 @@ # i915 Gpu requires intel driver services.xserver.videoDrivers = [ "intel" ]; + # Tamzen font in st + nixpkgs.overlays = [ + (final: prev: { + st = prev.st.overrideAttrs (old: { + buildInputs = old.buildInputs or [] ++ [ pkgs.makeWrapper ]; + postInstall = old.postInstall or "" + '' + wrapProgram $out/bin/st \ + --add-flags '-fTamzen:pixelsize=14' + ''; + }); + }) + ]; + system.stateVersion = "24.11"; } -- cgit v1.2.3