git: Use pkgs.gitFull
This commit is contained in:
parent
37c9f7161a
commit
fe8aeff5ee
1 changed files with 2 additions and 1 deletions
|
@ -36,6 +36,7 @@ in
|
|||
config = mkIf cfg.enable {
|
||||
programs.git = {
|
||||
enable = true;
|
||||
package = pkgs.gitFull;
|
||||
userName = cfg.name;
|
||||
userEmail = cfg.email;
|
||||
signing = mkIf (cfg.signingKey != null) {
|
||||
|
@ -71,7 +72,7 @@ in
|
|||
};
|
||||
|
||||
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 = {
|
||||
defaultBranch = "main";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue