summaryrefslogtreecommitdiff
path: root/home-manager/features/cli/utils/git.nix
blob: 532fb25a5d441c36efa3a9ea9c387bd6c6b15f87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
  config,
  lib,
  ...
}: let
  cfg = config.features.cli.utils.git;
in {
  options.features.cli.utils.git.enable = lib.mkEnableOption "git";
  config = lib.mkIf cfg.enable {
    programs.git = {
      enable = true;
      settings = {
        user = {
          email = "triethylammonium@pm.me";
          name = "triethyl";
        };
      };
    };
  };
}