aboutsummaryrefslogtreecommitdiff
path: root/modules/homeModules/alacritty.nix
blob: 3fcce6c7a46008a167da7df32ecb0063fd9e901f (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
28
29
{inputs, ...}: {
  flake.homeModules.alacritty = {
    pkgs,
    config,
    lib,
    ...
  }: {
    options.customs = {
      alacritty.enable = lib.mkEnableOption "enable alacritty";
    };

    config = lib.mkIf config.alacritty.enable {
      programs.alacritty = {
        enable = true;
        settings = {
          cursor = {
            style = "Beam";
            thickness = 0.25;
          };
          window = {
            padding = {
              x = 10;
            };
          };
        };
      };
    };
  };
}