diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-11-12 17:12:00 +0100 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-11-12 17:12:00 +0100 |
commit | 23c2115bb054d88cef2ec2dfb7f250f981d1032e (patch) | |
tree | 4e35833ac6d4c0e1dd86b702bfbc9c47e611aa7e /programs/git.nix | |
parent | 12fb66f04a9755e24be965e0b44c8770de2073de (diff) | |
download | dots-23c2115bb054d88cef2ec2dfb7f250f981d1032e.tar.gz dots-23c2115bb054d88cef2ec2dfb7f250f981d1032e.zip |
Update
Diffstat (limited to 'programs/git.nix')
-rwxr-xr-x | programs/git.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/programs/git.nix b/programs/git.nix index f773a82..6b0b331 100755 --- a/programs/git.nix +++ b/programs/git.nix @@ -1,6 +1,8 @@ +{ pkgs, ... }: { programs.git = { enable = true; + package = pkgs.gitAndTools.gitFull; userName = "Patryk Niedźwiedziński"; userEmail = "pniedzwiedzinski19@gmail.com"; signing = { @@ -13,8 +15,14 @@ extraConfig = { url."ssh://git@github.com/".insteadOf = "https://github.com/"; + url."ssh://git@github.com/pniedzwiedzinski/".insteadOf = "pn:"; url."ssh://git@gitlab.com/".insteadOf = "https://gitlab.com/"; url."ssh://git@bitbucket.org/".insteadOf = "https://bitbucket.org/"; + + sendemail = { + smtpserver = "${pkgs.msmtp}/bin/msmtp"; + smtpserveroption = [ "-a" "pniedzwiedzinski19@gmail.com" ]; + }; }; }; } |