diff options
| author | Franck Cuny <franck@fcuny.net> | 2022-02-12 14:21:54 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2022-02-12 14:21:54 -0800 |
| commit | e682fc84f39540dca7b2aebb181c790621f91a82 (patch) | |
| tree | ef311b079e6bebd036b23c57219e01e9b3af4c9e | |
| parent | flake.lock (diff) | |
| download | infra-e682fc84f39540dca7b2aebb181c790621f91a82.tar.gz | |
home-manager: git credential helpers configuration
| -rw-r--r-- | users/fcuny/cli/git.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/users/fcuny/cli/git.nix b/users/fcuny/cli/git.nix index f7aeb27..2e92121 100644 --- a/users/fcuny/cli/git.nix +++ b/users/fcuny/cli/git.nix @@ -15,6 +15,15 @@ }; userName = "Franck Cuny"; userEmail = "franck@fcuny.net"; + extraConfig = { + "credential \"https://github.com\"" = { + username = "fcuny"; + }; + "credential \"https://git.fcuny.net\"" = { + username = "fcuny"; + helper = "!echo -n 'password='; pass git/git.fcuny.net" + }; + }; ignores = [ "*.elc" "*.iml" |
