git config

This commit is contained in:
joy 2024-11-17 12:56:34 +01:00
parent 36feb47d06
commit d13fa9897f
5 changed files with 14 additions and 4 deletions

View file

@ -11,7 +11,7 @@
}: let
username = "joy";
domain = "joygnu.org";
mail = "contact@joygnu.org";
mail = "mail@joygnu.org";
nixpath = "nix/";
nixosconf = {modules}:

View file

@ -6,7 +6,7 @@
./mail
./yazi
./zsh
./git
# ./git
./helix
./newsboat
./zoxide

View file

@ -4,6 +4,7 @@
./homemanger
./networking
./doas
./git
./misc
];
}

View file

@ -8,6 +8,4 @@
persist = true;
}
];
programs.git.enable = true;
programs.git.config = {safe.directory = "*";};
}

View file

@ -0,0 +1,11 @@
{mail, ...}: {
programs.git = {
enable = true;
config = {
safe.directory = "*";
user.name = "joy";
user.email = "${mail}";
init.defaultBranch = "main";
};
};
}