2024-01-19 08:24:34 -07:00
|
|
|
{ pkgs, ... }:
|
|
|
|
let
|
2024-01-19 11:11:29 -07:00
|
|
|
settings = {
|
|
|
|
font = {
|
|
|
|
normal = {
|
|
|
|
family = "Go Mono";
|
|
|
|
};
|
|
|
|
size = 6;
|
|
|
|
};
|
|
|
|
|
2024-01-19 08:24:34 -07:00
|
|
|
colors = {
|
|
|
|
primary = {
|
|
|
|
background = "#ffffea";
|
|
|
|
foreground = "#000000";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
settingsFormat = pkgs.formats.toml { };
|
|
|
|
settingsFile = settingsFormat.generate "alacritty.toml" settings;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
config = {
|
2024-01-19 11:11:29 -07:00
|
|
|
environment = {
|
|
|
|
etc = {
|
2024-01-20 20:04:22 -07:00
|
|
|
"xdg/alacritty/alacritty.toml".text = builtins.readFile settingsFile;
|
2024-01-19 11:11:29 -07:00
|
|
|
};
|
2024-01-19 08:24:34 -07:00
|
|
|
};
|
2024-01-20 20:30:16 -07:00
|
|
|
fonts = { packages = with pkgs; [ go-font ]; };
|
2024-01-19 08:24:34 -07:00
|
|
|
};
|
|
|
|
}
|