summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
authorMel <mel@rnrd.eu>2026-02-14 23:28:06 +0100
committerMel <mel@rnrd.eu>2026-02-14 23:28:06 +0100
commita89662e06da0ee9df301e49942af25387c5527a2 (patch)
tree46d2054fecd2d473ad7d9398b98e92c336a0a9e9 /modules
parent7273a3a04d5b59ac9aee4abe06928e0870b1ed78 (diff)
downloadnetwork-a89662e06da0ee9df301e49942af25387c5527a2.tar.zst
network-a89662e06da0ee9df301e49942af25387c5527a2.zip
Move over deprecated option paths to new paths for 25.11
Signed-off-by: Mel <mel@rnrd.eu>
Diffstat (limited to 'modules')
-rw-r--r--modules/home/common.nix21
1 files changed, 16 insertions, 5 deletions
diff --git a/modules/home/common.nix b/modules/home/common.nix
index 4eb0d56..cc9c68f 100644
--- a/modules/home/common.nix
+++ b/modules/home/common.nix
@@ -8,20 +8,31 @@ in
   programs = {
     git = {
       enable = true;
-      userName = "Mel";
-      userEmail = "mel@rnrd.eu";
       signing = {
         key = "D75A C286 ACA7 00B4 D8EC 377D 2082 F8EC 11CC 009B";
         signByDefault = true;
       };
       ignores = [
-        # ignore most vim swapfiles
-        "*~" "[._]*.sw?"
+        # ignore most vim swap-files
+        "*~"
+        "[._]*.sw?"
       ];
-      extraConfig = {
+
+      settings = {
+        user = {
+          name = "Mel";
+          email = "mel@rnrd.eu";
+        };
+
+        alias = {
+          "skip" = "update-index --skip-worktree";
+          "unskip" = "update-index --no-skip-worktree";
+        };
+
         init.defaultBranch = "main";
         pull.rebase = true;
       };
+
     };
 
     tmux = {