core: create git configuration
This commit is contained in:
parent
af43682e8b
commit
a6568d4891
1 changed files with 6 additions and 0 deletions
|
@ -29,6 +29,12 @@
|
||||||
ddrescue
|
ddrescue
|
||||||
];
|
];
|
||||||
|
|
||||||
|
programs.git.config = {
|
||||||
|
init.defaultBranch = "main";
|
||||||
|
merge.conflictstyle = "diff3";
|
||||||
|
rerere.enabled = true;
|
||||||
|
};
|
||||||
|
|
||||||
# Enable fail2ban because of the OpenSSH server
|
# Enable fail2ban because of the OpenSSH server
|
||||||
services.fail2ban = {
|
services.fail2ban = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in a new issue