diff --git a/modules/system/system.nix b/modules/system/system.nix index 80507d3..31c5610 100644 --- a/modules/system/system.nix +++ b/modules/system/system.nix @@ -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 diff --git a/modules/users/aires/default.nix b/modules/users/aires/default.nix index 95e2050..2366633 100644 --- a/modules/users/aires/default.nix +++ b/modules/users/aires/default.nix @@ -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"; }; };