From 68b9ec4a18a7821e1f1f31c82e45a5604f42171d Mon Sep 17 00:00:00 2001 From: Leo Alho Date: Tue, 28 Jul 2026 13:52:35 +0300 Subject: [PATCH] Fix invalid Home Manager git options Replace config.user.{name,email} with userName/userEmail and settings.alias with aliases. Co-Authored-By: Claude Sonnet 4.6 Claude-Session: https://claude.ai/code/session_018D8GH3ssjrRwCLuwXMxsBE --- home.nix | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/home.nix b/home.nix index 734e47c..625dd2f 100644 --- a/home.nix +++ b/home.nix @@ -123,18 +123,16 @@ ############################################################################# programs.git = { enable = true; - config.user = { - name = "Leo Alho"; - email = "leoalho@proton.me"; - }; + userName = "Leo Alho"; + userEmail = "leoalho@proton.me"; lfs.enable = true; - settings.alias = { - co = "checkout"; - br = "branch"; - c = "commit"; - a = "add"; - p = "push"; - st = "status"; + aliases = { + co = "checkout"; + br = "branch"; + c = "commit"; + a = "add"; + p = "push"; + st = "status"; }; extraConfig = { init.defaultBranch = "main";