46 lines
1.1 KiB
Nix
46 lines
1.1 KiB
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
options.speccon18.hm.alacritty.enable = lib.mkEnableOption "Enable Alacritty";
|
|
|
|
config = lib.mkIf config.speccon18.hm.alacritty.enable {
|
|
programs.alacritty = {
|
|
enable = true;
|
|
settings = {
|
|
window = {
|
|
dimensions = {
|
|
columns = 120;
|
|
lines = 25;
|
|
};
|
|
decorations = "full";
|
|
opacity = 1.0;
|
|
title = "Alacritty";
|
|
};
|
|
|
|
general = {
|
|
import = ["~/.config/alacritty/themes/oasis-abyss.toml"];
|
|
};
|
|
|
|
font = {
|
|
normal = {
|
|
family = "Droid Sans Mono Nerd Font";
|
|
style = "Regular";
|
|
};
|
|
bold = {
|
|
family = "Droid Sans Mono Nerd Font";
|
|
style = "Bold";
|
|
};
|
|
italic = {
|
|
family = "Droid Sans Mono Nerd Font";
|
|
style = "Italic";
|
|
};
|
|
bold_italic = {
|
|
family = "Droid Sans Mono Nerd Font";
|
|
style = "Bold Italic";
|
|
};
|
|
size = 12.0;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|