Harald Hoyer
ed0a15c9f8
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.
21 lines
303 B
Nix
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 ];
|
|
};
|
|
}
|