diff --git a/.sources/sources.json b/.sources/sources.json index d0e145a..0eb5ac7 100644 --- a/.sources/sources.json +++ b/.sources/sources.json @@ -180,18 +180,6 @@ "url": "https://github.com/rose-pine/kitty/archive/788bf1bf1a688dff9bbacbd9e516d83ac7dbd216.tar.gz", "hash": "0a5r70q7g29b3fwz3i6rlj8jkyw5rc1pv92icndyc6lbb291bhq1" }, - "lazygit": { - "type": "Git", - "repository": { - "type": "GitHub", - "owner": "catppuccin", - "repo": "lazygit" - }, - "branch": "main", - "revision": "772b45481933de5b912cd6176ea8d827217efd1b", - "url": "https://github.com/catppuccin/lazygit/archive/772b45481933de5b912cd6176ea8d827217efd1b.tar.gz", - "hash": "01airvhdh5mnsr945a6ij8rz5ks8cn246q3an5k8k4b9zari0r6c" - }, "mako": { "type": "Git", "repository": { @@ -470,4 +458,5 @@ } }, "version": 3 -} \ No newline at end of file +} + diff --git a/modules/home-manager/all-modules.nix b/modules/home-manager/all-modules.nix index 5f42852..eb26ac7 100644 --- a/modules/home-manager/all-modules.nix +++ b/modules/home-manager/all-modules.nix @@ -15,7 +15,6 @@ ./hyprland.nix ./k9s.nix ./kitty.nix - ./lazygit.nix ./newsboat.nix ./mako.nix ./micro.nix diff --git a/modules/home-manager/lazygit.nix b/modules/home-manager/lazygit.nix deleted file mode 100644 index 527cffb..0000000 --- a/modules/home-manager/lazygit.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ - config, - lib, - pkgs, - ... -}: -let - inherit (lib) ctp; - inherit (config.catppuccin) sources; - - cfg = config.programs.lazygit.catppuccin; - enable = cfg.enable && config.programs.lazygit.enable; - - # NOTE: On MacOS specifically, k9s expects its configuration to be in - # `~/Library/Application Support` when not using XDG - enableXdgConfig = !pkgs.stdenv.hostPlatform.isDarwin || config.xdg.enable; - - configDirectory = - if enableXdgConfig then - config.xdg.configHome - else - "${config.home.homeDirectory}/Library/Application Support"; - configFile = "${configDirectory}/lazygit/config.yml"; -in -{ - options.programs.lazygit.catppuccin = lib.ctp.mkCatppuccinOpt { name = "lazygit"; } // { - accent = ctp.mkAccentOpt "lazygit"; - }; - - config.home.sessionVariables = lib.mkIf enable { - # Ensure that the default config file is still sourced - LG_CONFIG_FILE = "${sources.lazygit}/themes-mergable/${cfg.flavor}/${cfg.accent}.yml,${configFile}"; - }; -}