summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
authorMel <einebeere@gmail.com>2024-11-17 17:40:32 +0100
committerMel <einebeere@gmail.com>2024-11-17 17:40:32 +0100
commit2aec8d4476c1a32d603202fb15560f81b6f2d667 (patch)
tree6613a8d793c7f951a3a1787edd753afcc144f92a /modules
parentc725471690a74e5fb3fa4960a748b472acb1a8bf (diff)
downloadnetwork-2aec8d4476c1a32d603202fb15560f81b6f2d667.tar.zst
network-2aec8d4476c1a32d603202fb15560f81b6f2d667.zip
Git rebase automatically on pull
Signed-off-by: Mel <einebeere@gmail.com>
Diffstat (limited to 'modules')
-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 = {