From c014e34e4c44ed7272e309ec3fee193219c39316 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Thu, 24 Oct 2024 17:18:25 +0200 Subject: [PATCH] git config --- modules/git.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/git.nix b/modules/git.nix index 0501fe9..063a8e9 100644 --- a/modules/git.nix +++ b/modules/git.nix @@ -16,6 +16,11 @@ aliases = { #st = "status"; }; + extraConfig = { + init.defaultBranch = "main"; + # TODO: Remove once this becomes default + extensions.objectFormat = "sha256"; + }; }; }; }