blob: 892516ba6ee3fb473155b35b347696b77ad24805 (
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
|
{
config,
lib,
...
}:
with lib; let
cfg = config.nixfiles.modules.alacritty;
in {
options.nixfiles.modules.alacritty.enable =
mkEnableOption "Alacritty terminal emulator";
config = mkIf cfg.enable {
hm.programs.alacritty = {
enable = true;
settings = {
window = {
padding = with config.stylix.fonts.sizes; {
x = terminal;
y = terminal;
};
dynamic_padding = false;
decorations = "Full";
startup_mode = "Maximized";
};
selection.save_to_clipboard = true;
cursor = {
style = {
shape = "Block";
blinking = "On";
};
vi_mode_style = {
shape = "Block";
blinking = "Off";
};
};
};
};
};
}
|