option

programs.git.extraConfig

Additional configuration to add. The use of string values is deprecated and will be removed in the future.

Declarations
Type
strings concatenated with "\n" or attribute set of attribute set of (string or boolean or signed integer or list of (string or boolean or signed integer) or attribute set of (string or boolean or signed integer or list of (string or boolean or signed integer)))
Default
{ }
Example
{
  core = {
    whitespace = "trailing-space,space-before-tab";
  };
  url = {
    "ssh://[email protected]" = {
      insteadOf = "otherhost";
    };
  };
}