From 23c2115bb054d88cef2ec2dfb7f250f981d1032e Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Thu, 12 Nov 2020 17:12:00 +0100 Subject: Update --- programs/git.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'programs/git.nix') 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" ]; + }; }; }; } -- cgit 1.4.1