Set font to Source Code Pro

This commit is contained in:
Tim Schubert 2021-04-13 22:41:28 +02:00
parent e28d0c2bc3
commit 089a73bdb2
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA

View file

@ -8,11 +8,32 @@ in
enable = mkEnableOption "Enable alacritty config";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [
jetbrains-mono
];
programs.alacritty = {
enable = true;
settings = {
scrolling.history = 0;
font.size = 9;
font = {
size = 8;
normal = {
family = "Source Code Pro";
style = "Regular";
};
bold = {
family = "Source Code Pro";
style = "Bold";
};
italic = {
family = "Source Code Pro";
style = "Italic";
};
bold_italic = {
family = "Source Code Pro";
style = "Bold Italic";
};
};
shell.program = "tmux";
window.decorations = "none";
# XTerm's default colors