xin/configs/alacritty.nix

31 lines
558 B
Nix
Raw Permalink Normal View History

2024-01-19 08:24:34 -07:00
{ pkgs, ... }:
let
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 = {
environment = {
etc = {
"xdg/alacritty/alacritty.toml".text = builtins.readFile settingsFile;
};
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
};
}