From 3e232a2bc7f5c8ea33804be1ea071a91c5f98055 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Fri, 24 Apr 2026 01:48:30 +0530 Subject: replacing tools with programs to be more consistent with config options --- modules/tools/bat/default.nix | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 modules/tools/bat/default.nix (limited to 'modules/tools/bat/default.nix') diff --git a/modules/tools/bat/default.nix b/modules/tools/bat/default.nix deleted file mode 100644 index 1bfdb61..0000000 --- a/modules/tools/bat/default.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ - config, - lib, - pkgs, - ... -}: - -# bat - a cat clone with wings -{ - options.tools.bat = { - enable = lib.mkEnableOption "Enables bat."; - }; - - config = lib.mkIf config.tools.bat.enable { - programs.bat = { - enable = true; - config = { - theme = "base16"; - }; - themes = { - base16 = { - src = pkgs.runCommand "bat-base16-theme" { } '' - mkdir -p $out - cp ${config.scheme { template = ./base16.mustache.tmTheme; }} $out/base16.tmTheme - ''; - file = "base16.tmTheme"; - }; - }; - }; - }; -} -- cgit v1.2.3