diff --git a/homes/x86_64-darwin/harald@mpro.fritz.box/default.nix b/homes/x86_64-darwin/harald@mpro.fritz.box/default.nix index eab10ff..18cb702 100644 --- a/homes/x86_64-darwin/harald@mpro.fritz.box/default.nix +++ b/homes/x86_64-darwin/harald@mpro.fritz.box/default.nix @@ -27,6 +27,7 @@ }; tools = { direnv.enable = true; + alacritty.enable = true; # jetbrains.enable = true; }; }; diff --git a/modules/home/cli-apps/home-manager/default.nix b/modules/home/cli-apps/home-manager/default.nix index 450c53c..cedb56a 100644 --- a/modules/home/cli-apps/home-manager/default.nix +++ b/modules/home/cli-apps/home-manager/default.nix @@ -25,7 +25,6 @@ in }; home.packages = with pkgs; [ - bat vim cachix ]; diff --git a/modules/home/tools/alacritty/default.nix b/modules/home/tools/alacritty/default.nix new file mode 100644 index 0000000..809f86c --- /dev/null +++ b/modules/home/tools/alacritty/default.nix @@ -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" ]; }) + ]; + }; +}