31 lines
617 B
Nix
31 lines
617 B
Nix
|
{ 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;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|