21 lines
325 B
Nix
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 ];
|
|
};
|
|
}
|