about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--users/fcuny/cli/git.nix9
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"