aboutsummaryrefslogtreecommitdiff
path: root/home-manager/homeModules/alacritty.nix
blob: 0f9d5ba323c324659283f40e73b3253ba12162fb (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
{ pkgs, config, lib, ... }:

{
  options = {
    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;
          };
        };
      };
    };
  };
}