mirror of
https://github.com/zoriya/home-manager.git
synced 2026-06-06 20:02:37 +00:00
git-credential-oauth: fix ordering of git extraConfig
Added `mkAfter` to `git.extraConfig` to ensure our oauth is last, as required to work with additional helpers.
This commit is contained in:
@@ -29,7 +29,7 @@ in {
|
||||
config = lib.mkIf cfg.enable {
|
||||
home.packages = [ cfg.package ];
|
||||
|
||||
programs.git.extraConfig.credential.helper = [
|
||||
programs.git.extraConfig.credential.helper = lib.mkAfter [
|
||||
("${cfg.package}/bin/git-credential-oauth"
|
||||
+ lib.optionalString (cfg.extraFlags != [ ])
|
||||
" ${lib.strings.concatStringsSep " " cfg.extraFlags}")
|
||||
|
||||
Reference in New Issue
Block a user