diff options
Diffstat (limited to 'modules/home/theme-st.nix')
-rw-r--r-- | modules/home/theme-st.nix | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/modules/home/theme-st.nix b/modules/home/theme-st.nix deleted file mode 100644 index 0a06cd0..0000000 --- a/modules/home/theme-st.nix +++ /dev/null @@ -1,22 +0,0 @@ -{ config, lib, pkgs, ... }: { - options = { - theme.st = { - enable = lib.mkEnableOption "enables theming st with home manager"; - font = lib.mkOption { - type = lib.types.str; - default = "JetBrainsMonoNL Nerd Font Mono:size=12:antialias=true:autohint=true"; - }; - }; - }; - config = let - themed-st = pkgs.st.overrideAttrs (old: { - buildInputs = old.buildInputs or [] ++ [ pkgs.makeWrapper ]; - postInstall = old.postInstall or "" + '' - wrapProgram $out/bin/st \ - --add-flags '-f"${config.theme.st.font}"' - ''; - }); - in lib.mkIf config.theme.enable { - home.packages = [ themed-st ]; - }; -} |