all repos — dotfiles @ e88c47899bcbe8700c508a85a5aa0c519740b2eb

my *nix dotfiles

programs/alacritty.nix (view raw)

 1{ config
 2, pkgs
 3, ...
 4}:
 5
 6{
 7  programs.alacritty = {
 8    enable = true;
 9    settings = {
10      env = {
11        "TERM" = "xterm-256color-italic";
12      };
13
14      window = {
15        padding.x = 10;
16        padding.y = 10;
17        dynamic_padding = true;
18        decorations = "None";
19        startup_mode = "Maximized";
20      };
21
22      font = {
23        size = 12.0;
24
25        normal.family = "Input";
26      };
27
28      cursor.style = "Beam";
29
30      colors = {
31        primary = {
32          background = "0xf4f4f4";
33          foreground = "0x676767";
34        };
35        normal = {
36          black = "0xf4f4f4";
37          red = "0xdb7070";
38          green = "0x7c9f4b";
39          yellow = "0xd69822";
40          blue = "0x6587bf";
41          magenta = "0xb870ce";
42          cyan = "0x509c93";
43          white = "0x676767";
44        };
45        bright = {
46          black = "0xaaaaaa";
47          red = "0xc66666";
48          green = "0x6d8b42";
49          yellow = "0xe7e7e7";
50          blue = "0x8a8a8a";
51          magenta = "0xa262b5";
52          cyan = "0x43827b";
53          white = "0x525252";
54        };
55      };
56
57    };
58  };
59}