From fe8aeff5ee3305a6b6f81c8ac2233955486aa76a Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Wed, 19 Apr 2023 09:31:28 +0200 Subject: [PATCH] git: Use pkgs.gitFull --- home-manager/modules/git/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/home-manager/modules/git/default.nix b/home-manager/modules/git/default.nix index 6d9eb9c..ed6db09 100644 --- a/home-manager/modules/git/default.nix +++ b/home-manager/modules/git/default.nix @@ -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"; };