Added git module with default user info
This commit is contained in:
parent
87dde5a2af
commit
27b416db5e
2 changed files with 14 additions and 0 deletions
13
common/git/default.nix
Normal file
13
common/git/default.nix
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
{
|
||||||
|
# !!! FOR HOME MANAGER Not nix config
|
||||||
|
programs.git = {
|
||||||
|
enable = true;
|
||||||
|
userName = "[REDACTED]";
|
||||||
|
userEmail = "36116606+TophC7@users.noreply.github.com";
|
||||||
|
extraConfig = {
|
||||||
|
init = {
|
||||||
|
defaultBranch = "main";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -4,6 +4,7 @@
|
||||||
imports = [
|
imports = [
|
||||||
# Common Modules
|
# Common Modules
|
||||||
../../../common/home
|
../../../common/home
|
||||||
|
../../../common/git
|
||||||
];
|
];
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
|
Loading…
Add table
Reference in a new issue