move most git config into home

This commit is contained in:
müde 2026-02-22 12:32:16 +01:00
parent 95c202eabd
commit 866b518111
3 changed files with 31 additions and 31 deletions

View file

@ -24,7 +24,6 @@
programs = {
home-manager.enable = true;
fzf.enable = true;
git-credential-oauth.enable = true;
direnv = {
enable = true;

View file

@ -1,5 +1,6 @@
{
config.programs.git = {
programs = {
git = {
enable = true;
settings = {
user = {
@ -24,4 +25,11 @@
".envrc"
];
};
git-credential-oauth.enable = true;
gh = {
enable = true;
gitCredentialHelper.enable = true;
};
};
}

View file

@ -1,13 +1,6 @@
{
programs = {
git = {
programs.git = {
enable = true;
settings.init.defaultBranch = "main";
};
gh = {
enable = true;
gitCredentialHelper.enable = true;
};
};
}