From ef6d5cedb0560e3b047431447e76a312d79bba02 Mon Sep 17 00:00:00 2001 From: tomoron Date: Wed, 19 Nov 2025 20:32:35 +0100 Subject: [PATCH] update git config to follow the renaming of the options --- homeConfigs/modules/git.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/homeConfigs/modules/git.nix b/homeConfigs/modules/git.nix index 2c327ed..a829c40 100644 --- a/homeConfigs/modules/git.nix +++ b/homeConfigs/modules/git.nix @@ -11,9 +11,9 @@ programs.git = { enable = true; lfs.enable = true; - userEmail = "tomoron@student.42angouleme.fr"; - userName = "tomoron"; - extraConfig = { + settings = { + user.email = "tomoron@student.42angouleme.fr"; + user.name = "tomoron"; init.defaultBranch="master"; pull.rebase = true; push.autoSetupRemote = true; @@ -21,10 +21,10 @@ help.autocorrect = 1; user.signingkey = "251B4BD73683A8DF13D760A868BFAFE31DF313AD"; commit.gpgsign = true; - }; - aliases = { - fuck = "!f() { git reset --hard \"@{upstream}\" && git restore . && git clean -f .; };f"; - back = "reset HEAD~"; + aliase = { + fuck = "!f() { git reset --hard \"@{upstream}\" && git restore . && git clean -f .; };f"; + back = "reset HEAD~"; + }; }; }; };