From e682fc84f39540dca7b2aebb181c790621f91a82 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 12 Feb 2022 14:21:54 -0800 Subject: home-manager: git credential helpers configuration --- users/fcuny/cli/git.nix | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'users/fcuny/cli') 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" -- cgit 1.4.1