diff options
| author | alex <[email protected]> | 2026-10-17 18:28:44 +0200 |
|---|---|---|
| committer | alex <[email protected]> | 2026-10-17 18:28:44 +0200 |
| commit | 8c72ed35ec5c8efda1dd3a2c2037a6b9126f0d71 (patch) | |
| tree | 542eb1d5a76d7738983ab3f7493c19a2f53135a6 | |
| parent | 87c2ef9120cf1a106b898718527b539571ad2934 (diff) | |
| download | nixos-8c72ed35ec5c8efda1dd3a2c2037a6b9126f0d71.tar.xz nixos-8c72ed35ec5c8efda1dd3a2c2037a6b9126f0d71.zip | |
added default git config to home manager
| -rw-r--r-- | home-manager/modules/git.nix | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/home-manager/modules/git.nix b/home-manager/modules/git.nix index 2abe4e8..59551f9 100644 --- a/home-manager/modules/git.nix +++ b/home-manager/modules/git.nix @@ -1,3 +1,12 @@ -{...}: { - programs.git.enable = true; +{ ... }: { + programs.git = { + enable = true; + settings = { + user = { + name = "alex"; + email = "[email protected]"; + }; + init.defaultBranch = "main"; + }; + }; } |
