From a6568d4891d7323af288ba339368ac6def601b42 Mon Sep 17 00:00:00 2001 From: Wroclaw Date: Tue, 28 May 2024 12:18:08 +0200 Subject: [PATCH] core: create git configuration --- nix-os/core.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nix-os/core.nix b/nix-os/core.nix index d79f6e9..a5633da 100644 --- a/nix-os/core.nix +++ b/nix-os/core.nix @@ -29,6 +29,12 @@ ddrescue ]; + programs.git.config = { + init.defaultBranch = "main"; + merge.conflictstyle = "diff3"; + rerere.enabled = true; + }; + # Enable fail2ban because of the OpenSSH server services.fail2ban = { enable = true;