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"; };