30 lines
688 B
Nix
30 lines
688 B
Nix
|
{fonts, ...}: {
|
||
|
programs.alacritty = let
|
||
|
catppuccin-mocha = builtins.fromTOML (builtins.readFile ./catppuccin-mocha.toml);
|
||
|
in {
|
||
|
enable = true;
|
||
|
settings =
|
||
|
{
|
||
|
font = {
|
||
|
size = fonts.sizes.applications;
|
||
|
normal = {
|
||
|
family = fonts.monospace.name;
|
||
|
style = "Regular";
|
||
|
};
|
||
|
};
|
||
|
window = {
|
||
|
dynamic_title = true;
|
||
|
padding = {
|
||
|
x = 10;
|
||
|
y = 10;
|
||
|
};
|
||
|
decorations = "none";
|
||
|
};
|
||
|
live_config_reload = false;
|
||
|
selection.save_to_clipboard = true;
|
||
|
mouse.hide_when_typing = false;
|
||
|
}
|
||
|
// catppuccin-mocha;
|
||
|
};
|
||
|
}
|