From c202d1e3c8b08067a67fc978ef21c516e145fb21 Mon Sep 17 00:00:00 2001 From: punkfairie Date: Sat, 19 Oct 2024 22:02:22 -0700 Subject: [PATCH] feat(gh-dash): Remove gh-dash --- modules/home-manager/all-modules.nix | 1 - modules/home-manager/gh-dash.nix | 14 -------------- 2 files changed, 15 deletions(-) delete mode 100644 modules/home-manager/gh-dash.nix diff --git a/modules/home-manager/all-modules.nix b/modules/home-manager/all-modules.nix index 7a4da1b..cef94c4 100644 --- a/modules/home-manager/all-modules.nix +++ b/modules/home-manager/all-modules.nix @@ -9,7 +9,6 @@ ./fish.nix ./foot.nix ./fzf.nix - ./gh-dash.nix ./gitui.nix ./glamour.nix ./globals.nix diff --git a/modules/home-manager/gh-dash.nix b/modules/home-manager/gh-dash.nix deleted file mode 100644 index 85118ad..0000000 --- a/modules/home-manager/gh-dash.nix +++ /dev/null @@ -1,14 +0,0 @@ -{ config, lib, ... }: -let - inherit (config.catppuccin) sources; - cfg = config.programs.gh-dash.catppuccin; - enable = cfg.enable && config.programs.gh-dash.enable; - theme = "${sources.gh-dash}/themes/${cfg.flavor}/catppuccin-${cfg.flavor}-${cfg.accent}.yml"; -in -{ - options.programs.gh-dash.catppuccin = lib.ctp.mkCatppuccinOpt { name = "gh-dash"; } // { - accent = lib.ctp.mkAccentOpt "gh-dash"; - }; - - config.programs.gh-dash.settings = lib.mkIf enable (lib.ctp.fromYaml theme); -}