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

View file

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