blob: 18c5182f20e593fe836bfa34db5f70705ae0c6a0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
{ config, ... }:
let
defaultFont = "Source Code Pro";
in
{
programs.alacritty = {
enable = true;
settings = {
env.TERM = "xterm-256color";
general.import = [
"${config.xdg.configHome}/alacritty/catppuccin-latte.toml"
];
selection.save_to_clipboard = true;
window = {
dimensions = {
columns = 120;
lines = 40;
};
padding = {
x = 2;
y = 2;
};
};
scrolling = {
history = 10000;
multiplier = 3;
};
font = {
normal.family = defaultFont;
bold = {
family = defaultFont;
style = "Bold";
};
italic = {
family = defaultFont;
style = "Italic";
};
size = 14;
offset = {
x = 0;
y = 0;
};
glyph_offset = {
x = 0;
y = 0;
};
};
};
};
home.file.".config/alacritty/catppuccin-latte.toml" = {
source = ./catppuccin-latte.toml;
};
}
|