From 2841326f0a0ee15b25c7e135f25a180f9baab83a Mon Sep 17 00:00:00 2001 From: punkfairie Date: Sat, 19 Oct 2024 19:26:35 -0700 Subject: [PATCH] feat(delta): Remove delta --- modules/home-manager/all-modules.nix | 1 - modules/home-manager/delta.nix | 16 ---------------- 2 files changed, 17 deletions(-) delete mode 100644 modules/home-manager/delta.nix diff --git a/modules/home-manager/all-modules.nix b/modules/home-manager/all-modules.nix index 21c8a42..ecd7b7d 100644 --- a/modules/home-manager/all-modules.nix +++ b/modules/home-manager/all-modules.nix @@ -4,7 +4,6 @@ ./btop.nix ./cava.nix ./cursor.nix - ./delta.nix ./dunst.nix ./fcitx5.nix ./fish.nix diff --git a/modules/home-manager/delta.nix b/modules/home-manager/delta.nix deleted file mode 100644 index 72c814d..0000000 --- a/modules/home-manager/delta.nix +++ /dev/null @@ -1,16 +0,0 @@ -{ config, lib, ... }: -let - inherit (config.catppuccin) sources; - cfg = config.programs.git.delta.catppuccin; - enable = cfg.enable && config.programs.git.delta.enable; -in -{ - options.programs.git.delta.catppuccin = lib.ctp.mkCatppuccinOpt { name = "delta"; }; - - config = lib.mkIf enable { - programs.git = { - includes = [ { path = "${sources.delta}/catppuccin.gitconfig"; } ]; - delta.options.features = "catppuccin-${cfg.flavor}"; - }; - }; -}