Added bat module

Already had bat but I wanted to specify a specific theme.
This commit is contained in:
Alejandro Angulo 2023-06-22 17:23:27 -07:00
parent 4284ed2a9d
commit 58bdc7f6c5
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6
2 changed files with 24 additions and 1 deletions

View file

@ -0,0 +1,23 @@
{
options,
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.aa.apps.bat;
in {
options.aa.apps.bat = with types; {
enable = mkEnableOption "bat";
};
config = mkIf cfg.enable {
aa.home.extraOptions = {
programs.bat = {
enable = true;
config.theme = "gruvbox-dark";
};
};
};
}

View file

@ -13,9 +13,9 @@ in {
};
config = mkIf cfg.enable {
aa.apps.bat.enable = true;
environment.systemPackages = with pkgs; [
alejandra
bat
curl
deploy-rs
fd