summaryrefslogtreecommitdiff
path: root/home-manager/features/cli/utils/git.nix
blob: 3f18d10535b937dfeb20729a6e8fe46e2b9ecb8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
  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;
      user = {
        email = "triethylammonium@pm.me";
        name = "triethyl";
      };
    };
  };
}