Conditionally size alacritty font based on linux or darwin

This commit is contained in:
Dave Gallant
2021-07-10 14:28:30 -04:00
parent d0ced76a81
commit 7fa3d5a7c1

View File

@@ -154,10 +154,17 @@ in
live_config_reload = true;
mouse.hide_when_typing = true;
font = {
normal.family = "Fira Code";
size = 12;
};
font =
if stdenv.isLinux then
{
normal.family = "Fira Code";
size = 12;
}
else
{
normal.family = "Fira Code";
size = 18;
};
shell = {
program = "zsh";