From 09ead6c95777ed08e5d971c45ef115a6d93e882c Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Wed, 26 Apr 2023 16:12:22 +0100 Subject: [PATCH] Set default git branch to main --- nixos/home/git/default.nix | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/nixos/home/git/default.nix b/nixos/home/git/default.nix index 19db9dc9..7e47f2a7 100644 --- a/nixos/home/git/default.nix +++ b/nixos/home/git/default.nix @@ -10,14 +10,11 @@ userName = "Evie Litherland-Smith"; delta = { enable = true; - options = { - syntax-theme = "Catppuccin-macchiato"; - }; + options.syntax-theme = "Catppuccin-macchiato"; }; extraConfig = { - pull = { - rebase = false; - }; + pull.rebase = false; + init.defaultBranch = "main"; }; }; }