From e493dd45e8e919eda7c1ae31cab2579f1e1d97b6 Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Sun, 29 Jun 2025 16:32:34 -0500 Subject: use theme-st home manager module --- modules/hosts/X230/home.nix | 4 ++++ modules/hosts/libreX60/configuration.nix | 13 ------------- modules/hosts/libreX60/home.nix | 4 ++++ 3 files changed, 8 insertions(+), 13 deletions(-) (limited to 'modules/hosts') diff --git a/modules/hosts/X230/home.nix b/modules/hosts/X230/home.nix index 871d997..87a16ea 100644 --- a/modules/hosts/X230/home.nix +++ b/modules/hosts/X230/home.nix @@ -10,5 +10,9 @@ gtk.size = 8; }; cursor.size = 24; + st = { + enable = true; + font = "Tamzen:pixelsize=14"; + }; }; } diff --git a/modules/hosts/libreX60/configuration.nix b/modules/hosts/libreX60/configuration.nix index 6a681ed..55f1774 100644 --- a/modules/hosts/libreX60/configuration.nix +++ b/modules/hosts/libreX60/configuration.nix @@ -22,18 +22,5 @@ # 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"; } diff --git a/modules/hosts/libreX60/home.nix b/modules/hosts/libreX60/home.nix index 01496db..5b35457 100644 --- a/modules/hosts/libreX60/home.nix +++ b/modules/hosts/libreX60/home.nix @@ -10,5 +10,9 @@ gtk.size = 8; }; cursor.size = 24; + st = { + enable = true; + font = "Tamzen:pixelsize=14"; + }; }; } -- cgit v1.2.3