27 lines
382 B
Nix
27 lines
382 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
|
|
{
|
|
programs = {
|
|
git = {
|
|
enable = true;
|
|
config = {
|
|
init = {
|
|
defaultBranch = "main";
|
|
};
|
|
user = {
|
|
email = "marty@marty.tf";
|
|
name = "marty";
|
|
};
|
|
push = {
|
|
autoSetupRemote = true;
|
|
};
|
|
credential.helper = "libsecret";
|
|
};
|
|
};
|
|
};
|
|
}
|