Update
This commit is contained in:
12
home/system/git/default.nix
Normal file
12
home/system/git/default.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
let variable = import ../../../variables.nix;
|
||||
in {
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = variable.git.username;
|
||||
userEmail = variable.git.email;
|
||||
extraConfig = {
|
||||
init.defaultBranch = "main";
|
||||
push.autoSetupRemote = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user