Init
This commit is contained in:
21
home/git.nix
Normal file
21
home/git.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{ primaryUser, ... }:
|
||||
{
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "DerGrumpf"; # TODO replace
|
||||
userEmail = "p.keier@beyerstedt-it.de"; # TODO replace
|
||||
|
||||
lfs.enable = true;
|
||||
|
||||
ignores = [ "**/.DS_STORE" ];
|
||||
|
||||
extraConfig = {
|
||||
github = {
|
||||
user = primaryUser;
|
||||
};
|
||||
init = {
|
||||
defaultBranch = "main";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user