Set font to Source Code Pro
This commit is contained in:
parent
e28d0c2bc3
commit
089a73bdb2
1 changed files with 22 additions and 1 deletions
|
@ -8,11 +8,32 @@ in
|
||||||
enable = mkEnableOption "Enable alacritty config";
|
enable = mkEnableOption "Enable alacritty config";
|
||||||
};
|
};
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
jetbrains-mono
|
||||||
|
];
|
||||||
programs.alacritty = {
|
programs.alacritty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
scrolling.history = 0;
|
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";
|
shell.program = "tmux";
|
||||||
window.decorations = "none";
|
window.decorations = "none";
|
||||||
# XTerm's default colors
|
# XTerm's default colors
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue