add alacritty

This commit is contained in:
Harald Hoyer 2024-01-12 10:53:57 +01:00
parent f8361de04a
commit 0efd7a97f4
3 changed files with 23 additions and 1 deletions

View file

@ -27,6 +27,7 @@
}; };
tools = { tools = {
direnv.enable = true; direnv.enable = true;
alacritty.enable = true;
# jetbrains.enable = true; # jetbrains.enable = true;
}; };
}; };

View file

@ -25,7 +25,6 @@ in
}; };
home.packages = with pkgs; [ home.packages = with pkgs; [
bat
vim vim
cachix cachix
]; ];

View file

@ -0,0 +1,22 @@
{ lib
, config
, pkgs
, ...
}:
let
inherit (lib) mkEnableOption mkIf;
cfg = config.plusultra.tools.alacritty;
in
{
options.plusultra.tools.alacritty = {
enable = mkEnableOption "alacritty";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [
alacritty
(pkgs.nerdfonts.override { fonts = [ "FiraCode" "DroidSansMono" "JetBrainsMono" ]; })
];
};
}