aboutsummaryrefslogtreecommitdiff
path: root/modules/programs/kitty.nix
blob: 619d1db36c1d7aa218fedfd5620159886828db93 (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
30
31
32
33
34
35
36
37
{
  config,
	username,
  lib,
  ...
}:

{
  options.nx.programs.kitty.enable = lib.mkEnableOption "Enable git";
  config = lib.mkIf config.nx.programs.kitty.enable {
		home-manager.users.${username} = {
			programs.kitty = {
				enable = true;
				enableGitIntegration = true;
				font = {
					name = "monospace";
					size = 11;
				};
				settings = {
					cursor_shape = "underline";
					cursor_blink_interval = "-1";
					cursor_stop_blinking_after = "15.0";

					set_opacity = ".3";

					enable_audio_bell = false;
					bell_on_tab = false;

					window_border_width = "0";
					window_margin_width = "4";
					window_padding_width = "5";
				};
			};
		};
 };
}