summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--modules/home/common.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/home/common.nix b/modules/home/common.nix
index 9e25e71..ba66606 100644
--- a/modules/home/common.nix
+++ b/modules/home/common.nix
@@ -14,7 +14,10 @@
         # ignore most vim swapfiles
         "*~" "[._]*.sw?"
       ];
-      extraConfig.init.defaultBranch = "main";
+      extraConfig = {
+        init.defaultBranch = "main";
+        pull.rebase = true;
+      };
     };
 
     tmux = {