1
1
Fork 0
nixos/options/custom/programs/alacritty.nix

31 lines
619 B
Nix
Raw Normal View History

{
config,
lib,
...
}:
with lib; let
cfg = config.custom.programs.alacritty;
in {
options.custom.programs.alacritty.enable = mkOption {default = false;};
config.home-manager.users.${config.custom.username} = mkIf cfg.enable {
# https://github.com/alacritty/alacritty
programs.alacritty = {
enable = true;
# https://alacritty.org/config-alacritty.html
settings = {
font = {
#// builtin_box_drawing = false;
size = 14;
};
window = {
dynamic_padding = true;
resize_increments = true;
};
};
};
};
}