mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-03 19:42:10 +02:00
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