sneeuwvlok/modules/home/shell/toolset/bat.nix
Chris Kruining ef6c049068
more work
2025-07-24 09:57:59 +02:00

19 lines
352 B
Nix

{ config, lib, pkgs, user, ... }:
let
inherit (lib) mkIf mkEnableOption;
cfg = config.${namespace}.shell.toolset.bat;
in
{
options.${namespace}.shell.toolset.bat = {
enable = mkEnableOption "cat replacement";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [ bat ];
programs.bat = {
enable = true;
};
};
}