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