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 {
|
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";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue