Git: configure Git to use libsecret
This commit is contained in:
parent
7515e6eaa0
commit
ac51729c81
|
@ -7,6 +7,8 @@
|
|||
}:
|
||||
let
|
||||
cfg = config.aux.system;
|
||||
|
||||
gitWithLibsecret = pkgs.git.override { withLibsecret = true; };
|
||||
in
|
||||
{
|
||||
options = {
|
||||
|
@ -27,7 +29,7 @@ in
|
|||
coreutils
|
||||
dconf
|
||||
direnv
|
||||
git
|
||||
gitWithLibsecret
|
||||
gnutar
|
||||
gzip
|
||||
home-manager
|
||||
|
|
|
@ -72,6 +72,7 @@ in
|
|||
push.autoSetupRemote = "true";
|
||||
safe.directory = "${config.secrets.nixConfigFolder}/.git";
|
||||
submodule.recurse = true;
|
||||
credential.helper = "/run/current-system/sw/bin/git-credential-libsecret";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue