move pass-git-helper from git -> pass
This commit is contained in:
parent
af6cffb876
commit
51f866c0f8
2 changed files with 13 additions and 9 deletions
|
@ -4,7 +4,6 @@
|
||||||
|
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
pull.rebase = true;
|
pull.rebase = true;
|
||||||
credential.helper = "${pkgs.gitAndTools.pass-git-helper}/bin/pass-git-helper";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
aliases = {
|
aliases = {
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
{ pkgs, config, ... }: {
|
{ pkgs, config, ... }: {
|
||||||
programs.password-store = {
|
programs = {
|
||||||
|
password-store = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.pass;
|
package = pkgs.pass;
|
||||||
settings = {
|
settings = {
|
||||||
|
@ -10,6 +11,10 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
git.extraConfig.credential.helper = "${pkgs.gitAndTools.pass-git-helper}/bin/pass-git-helper";
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
home.file."${config.xdg.configHome}/pass-git-helper/git-pass-mapping.ini".text = ''
|
home.file."${config.xdg.configHome}/pass-git-helper/git-pass-mapping.ini".text = ''
|
||||||
[gitlab.com*]
|
[gitlab.com*]
|
||||||
target=dev/gitlab.com/infinidoge_api
|
target=dev/gitlab.com/infinidoge_api
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue