nixos

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit ee115077dc00a3c78abb09bf4e751e376c536788
parent c43f5b4bcdb24c184d8cfed83be041fe2e78d326
Author: Toni Brown <me@tb148.eu.org>
Date:   Thu, 30 Oct 2025 00:08:25 +0800

rename git options

Diffstat:
Mhome.nix | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/home.nix b/home.nix @@ -17,8 +17,6 @@ home.username = "tb148"; home.homeDirectory = "/home/tb148"; home.file.".face.icon".source = ./avatar.png; - programs.git.userName = "Toni Brown"; - programs.git.userEmail = "me@tb148.eu.org"; xdg.userDirs = { enable = true; @@ -88,8 +86,10 @@ ]; programs.git.enable = true; - programs.git.extraConfig = { + programs.git.settings = { init.defaultBranch = "trunk"; + user.name = "Toni Brown"; + user.email = "me@tb148.eu.org"; }; programs.git.signing.signByDefault = true; programs.git.signing.key = "53187AD414FDFBCC";