diff --git a/modules/bat/check.nix b/modules/bat/check.nix new file mode 100644 index 0000000..93df2f9 --- /dev/null +++ b/modules/bat/check.nix @@ -0,0 +1,20 @@ +{ + pkgs, + self, +}: +let + batWrapped = + (self.wrapperModules.bat.apply { + inherit pkgs; + + "bat-config".content = '' + # Test config + --italic-text=never + --theme="Catppuccin Mocha" + ''; + }).wrapper; +in +pkgs.runCommand "bat-test" { } '' + ${batWrapped}/bin/bat -p