nixcfg/modules/darwin/tools/alacritty/default.nix
Harald Hoyer ed0a15c9f8 Move Alacritty configuration to user-specific Nix home module.
The Alacritty configuration was relocated from the darwin module to the user's specific home module. This improves modularity and allows for user-specific customization of the terminal settings.
2024-12-13 09:25:01 +01:00

21 lines
303 B
Nix

{
lib,
config,
pkgs,
...
}:
let
inherit (lib) mkEnableOption mkIf;
cfg = config.metacfg.tools.alacritty;
in
{
options.metacfg.tools.alacritty = {
enable = mkEnableOption "alacritty";
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [ alacritty ];
};
}