diff options
Diffstat (limited to 'home/common')
| -rw-r--r-- | home/common/modules/git.nix | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/home/common/modules/git.nix b/home/common/modules/git.nix index 3f8a98e..077ee1d 100644 --- a/home/common/modules/git.nix +++ b/home/common/modules/git.nix @@ -1,15 +1,16 @@ { config, ... }: let - userName = config.global.userdata.nameFq; - userEmail = config.global.userdata.email; + name = config.global.userdata.nameFq; + email = config.global.userdata.email; in { programs.git = { enable = true; - inherit userName; - inherit userEmail; - - extraConfig = { + settings = { + user = { + inherit name; + inherit email; + }; color.ui = "auto"; init.defaultBranch = "master"; }; |
