From 36284093a43b2368269750f0aeaa0df491e6ea27 Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Tue, 7 Jan 2025 21:47:47 -0500 Subject: [PATCH] add github auth settings and autocrlf --- modules/devtools.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/devtools.nix b/modules/devtools.nix index 559ea4e..aa8bce8 100644 --- a/modules/devtools.nix +++ b/modules/devtools.nix @@ -59,9 +59,18 @@ in alias.glogl = "log --all --decorate --oneline --graph -n10"; alias.logl = "log --oneline -n10"; alias.vlog = "log --name-status"; + core.autocrlf = "input"; core.pager = "less -x1,5"; pull.ff = "only"; init.defaultBranch = "main"; + "credential \"https://github.com\"".helper = [ + "" + "!gh auth git-credential" + ]; + "credential \"https://gist.github.com\"".helper = [ + "" + "!gh auth git-credential" + ]; }; }; };