From 79c3c68a943283a5a005df2496e186c8f487e5eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Mon, 16 Oct 2023 20:12:49 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=91=EF=B8=8F=20(neodymium/home)=20fix?= =?UTF-8?q?=20deprecated=20theme=20syntax=20for=20bat?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hosts/neodymium/home/shell/bat.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hosts/neodymium/home/shell/bat.nix b/hosts/neodymium/home/shell/bat.nix index 729e5f5..2e84353 100644 --- a/hosts/neodymium/home/shell/bat.nix +++ b/hosts/neodymium/home/shell/bat.nix @@ -10,8 +10,10 @@ in { programs.bat = { enable = true; themes = { - catppuccin = - builtins.readFile "${catppuccin-bat}/Catppuccin-mocha.tmTheme"; + catppuccin = { + src = catppuccin-bat; + file = "Catppuccin-mocha.tmTheme"; + }; }; config.theme = "catppuccin"; extraPackages = with pkgs.bat-extras; [ batman ];