1
0
Fork 0

Git: configure Git to use libsecret

This commit is contained in:
Aires 2024-11-29 22:06:37 -05:00
parent 7515e6eaa0
commit ac51729c81
2 changed files with 4 additions and 1 deletions

View file

@ -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

View file

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