linuxware/modules/home-manager/programs/alacritty.nix

39 lines
699 B
Nix
Raw Normal View History

2024-07-17 11:30:04 -03:00
{ pkgs, ... }:
let
catppuccin-theme = pkgs.fetchFromGitHub {
owner = "catppuccin";
repo = "alacritty";
rev = "94800165c13998b600a9da9d29c330de9f28618e";
hash = "sha256-Pi1Hicv3wPALGgqurdTzXEzJNx7vVh+8B9tlqhRpR2Y=";
};
in
2024-07-17 11:30:04 -03:00
{
programs.alacritty = {
enable = true;
settings = {
import = [ "${catppuccin-theme}/catppuccin-frappe.toml" ];
2024-07-17 11:30:04 -03:00
font = {
normal = {
family = "BlexMono Nerd Font";
2024-07-17 11:30:04 -03:00
style = "Regular";
};
size = 12;
2024-07-17 11:30:04 -03:00
};
window = {
decorations = "None";
opacity = 0.88;
blur = true;
padding = {
x = 18;
y = 18;
};
};
};
};
}