From 9b6de54e34b56a34268651ecd7d1bfe5ba3620dc Mon Sep 17 00:00:00 2001 From: smayzy Date: Sat, 22 Nov 2025 17:20:08 +0100 Subject: [PATCH] update git settings in hm to match upstream's new syntax --- hosts/common/home.nix | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/hosts/common/home.nix b/hosts/common/home.nix index 4dee751..e3d2bc6 100644 --- a/hosts/common/home.nix +++ b/hosts/common/home.nix @@ -34,13 +34,21 @@ programs.git = { enable = true; - userName = "smayzy"; - userEmail = "smayzy@smayzy.ovh"; - extraConfig = { - core.editor = "vim"; - core.autocrlf = "input"; - credential.helper = "store"; - pull.rebase = "true"; + settings = { + core = { + autocrlf = "input"; + editor = "vim"; + }; + credential = { + helper = "store"; + }; + pull = { + rebase = "true"; + }; + user = { + email = "smayzy@smayzy.ovh"; + name = "smayzy"; + }; }; };