git: Use pkgs.gitFull

This commit is contained in:
Erwin Boskma 2023-04-19 09:31:28 +02:00
parent 37c9f7161a
commit fe8aeff5ee
Signed by: erwin
SSH key fingerprint: SHA256:CyeNoWXd3kjX2Nwu6pDxxdS7OqmPVOy0NavA/KU/ntU

View file

@ -36,6 +36,7 @@ in
config = mkIf cfg.enable { config = mkIf cfg.enable {
programs.git = { programs.git = {
enable = true; enable = true;
package = pkgs.gitFull;
userName = cfg.name; userName = cfg.name;
userEmail = cfg.email; userEmail = cfg.email;
signing = mkIf (cfg.signingKey != null) { signing = mkIf (cfg.signingKey != null) {
@ -71,7 +72,7 @@ in
}; };
extraConfig = { extraConfig = {
credential.helper = "${pkgs.git.override {withLibsecret = true;}}/bin/git-credential-libsecret"; credential.helper = "${config.programs.git.package.override {withLibsecret = true;}}/bin/git-credential-libsecret";
init = { init = {
defaultBranch = "main"; defaultBranch = "main";
}; };