summaryrefslogtreecommitdiff
path: root/home/config/alacritty.nix
blob: c54696ec9f10fe7c36a1f0c39e05e23d6a7a6b8e (plain)
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
{ config, ... }:

let
  user = config.home.username;
  host = config.networking.hostname;
in {
  programs.alacritty = {
    enable = true;

    settings = {
      window = {
        title = "${user}@{hostname}";

        padding = {
          x = 10;
          y = 10;
        };
        dimensions = {
          lines = 75;
          columns = 100;
        };
      };

      font = { size = 8.0; };
    };
  };
}