# users/tdback/modules/git/default.nix # # The de-facto version control system. { config, ... }: let userName = config.home.username; userEmail = config.accounts.email.accounts.${userName}.address or "tyler@tdback.net"; in { programs.git = { enable = true; inherit userName userEmail; extraConfig.init.defaultBranch = "main"; }; }