2024-09-23 12:17:10 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
self,
|
|
|
|
...
|
|
|
|
}:
|
2024-06-15 11:17:07 +00:00
|
|
|
let
|
|
|
|
inherit (lib) strings;
|
|
|
|
inherit (strings) toInt;
|
|
|
|
|
|
|
|
theme = import "${self}/lib/theme" { inherit pkgs; };
|
2024-09-23 12:17:10 +00:00
|
|
|
in
|
|
|
|
{
|
2024-06-15 11:17:07 +00:00
|
|
|
programs.alacritty = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
settings = {
|
|
|
|
env = {
|
|
|
|
TERM = "screen-256color";
|
|
|
|
};
|
|
|
|
|
|
|
|
window.padding = {
|
|
|
|
x = 15;
|
|
|
|
y = 15;
|
|
|
|
};
|
|
|
|
|
|
|
|
font = {
|
|
|
|
size = toInt "${theme.fonts.monospace.size}";
|
|
|
|
|
2024-09-25 09:07:26 +00:00
|
|
|
bold.style = "Regular";
|
2024-06-15 11:17:07 +00:00
|
|
|
normal.family = "${theme.fonts.monospace.name}";
|
|
|
|
|
2024-11-16 15:47:44 +00:00
|
|
|
offset.y = 6;
|
|
|
|
glyph_offset.y = 3;
|
2024-06-15 11:17:07 +00:00
|
|
|
};
|
|
|
|
|
2024-11-13 01:40:49 +00:00
|
|
|
terminal.shell = {
|
2024-09-23 12:17:10 +00:00
|
|
|
program = "zsh";
|
|
|
|
};
|
2024-06-15 11:17:07 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|