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

39 lines
705 B
Nix

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