diff options
| -rw-r--r-- | users/seth/programs/git.nix | 7 | ||||
| -rw-r--r-- | users/seth/programs/ssh.nix | 5 |
2 files changed, 6 insertions, 6 deletions
diff --git a/users/seth/programs/git.nix b/users/seth/programs/git.nix index 290a1e8..78c4e49 100644 --- a/users/seth/programs/git.nix +++ b/users/seth/programs/git.nix @@ -13,10 +13,15 @@ in { gh = { enable = true; settings = { - git_protocol = "ssh"; + git_protocol = "https"; editor = "nvim"; prompt = "enabled"; }; + + gitCredentialHelper = { + enable = true; + hosts = ["https://github.com" "https://github.example.com"]; + }; }; git = { diff --git a/users/seth/programs/ssh.nix b/users/seth/programs/ssh.nix index ad87477..080a60e 100644 --- a/users/seth/programs/ssh.nix +++ b/users/seth/programs/ssh.nix @@ -18,11 +18,6 @@ in { sshDir = "${config.home.homeDirectory}/.ssh"; in { # git forges - "github.com" = { - identityFile = "${sshDir}/github"; - user = "git"; - }; - "codeberg.org" = { identityFile = "${sshDir}/codeberg"; user = "git"; |
