summaryrefslogtreecommitdiff
path: root/git-settings.nix
blob: 935143e5336012d807fb132107198512fa41a537 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{lib, ...}:
with lib; {
  options.my.git = {
    enable = mkEnableOption "git configuration sharing";

    name = mkOption {
      type = types.str;
      default = "";
      description = "Git user name for other modules";
    };

    email = mkOption {
      type = types.str;
      default = "";
      description = "Git user email for other modules";
    };
  };
}