nix-config/modules/nix/terminal/alacritty.nix
smayzy 092579af98
All checks were successful
nix flake show / show-flake (push) Successful in 27s
format with nixfmt to nixpkgs standarts
2025-07-24 19:19:46 +02:00

21 lines
325 B
Nix

{
config,
lib,
pkgs,
...
}:
let
inherit (lib) mkIf mkOption types;
in
{
options.smayzy.alacritty.enable = mkOption {
type = types.bool;
default = false;
description = "alacritty";
};
config = mkIf config.smayzy.alacritty.enable {
environment.systemPackages = with pkgs; [ alacritty ];
};
}