diff --git a/flake.nix b/flake.nix index 98e9360..7f38f4a 100644 --- a/flake.nix +++ b/flake.nix @@ -27,6 +27,15 @@ { nixpkgs, self, ...} @ inputs: let selfPkgs = import ./pkgs; + + catppuccin-fcitx5 = { + url = "github:catppuccin/fcitx5"; + flake = false; + }; + catppuccin-cava = { + url = "github:catppuccin/cava"; + flake = false; + }; in { overlays.default = selfPkgs.overlay; diff --git a/modules/home/bat/default.nix b/modules/home/bat/default.nix index b6e14f9..63bbca9 100644 --- a/modules/home/bat/default.nix +++ b/modules/home/bat/default.nix @@ -1,6 +1,6 @@ -{ config, pkgs, ... }: +{ catppuccin-bat, ... }: { - programs.bat = { + programs.bat = { enable = true; config = { pager = "less -FR"; @@ -8,7 +8,7 @@ }; themes = { # https://raw.githubusercontent.com/catppuccin/bat/main/Catppuccin-mocha.tmTheme - Catppuccin-mocha = builtins.readFile "https://raw.githubusercontent.com/catppuccin/bat/main/Catppuccin-mocha.tmTheme"; + Catppuccin-mocha = builtins.readFile "${catppuccin-bat}/Catppuccin-mocha.tmTheme"; }; }; } \ No newline at end of file