tangled
alpha
login
or
join now
pluie.me
/
flake
2
fork
atom
All my system configs and packages in one repo
2
fork
atom
overview
issues
pulls
pipelines
leah/vcs: add gh & its git credentials integration
pluie.me
6 months ago
23d0fd53
0a2fc899
verified
This commit was signed with the committer's
known signature
.
pluie.me
SSH Key Fingerprint:
SHA256:YtI1D7vlcZ4obaiJ4tQihtswcMhHKdfYZuc4whOX2y8=
+14
-1
1 changed file
expand all
collapse all
unified
split
users
leah
programs
vcs.nix
+14
-1
users/leah/programs/vcs.nix
···
5
5
}:
6
6
{
7
7
hjem.users.leah.packages = with pkgs; [
8
8
+
gh
8
9
jujutsu
9
10
difftastic
10
11
watchman
···
21
22
integrations.difftastic.enable = true;
22
23
23
24
settings = {
25
25
+
advice = {
26
26
+
detachedHead = true;
27
27
+
};
28
28
+
24
29
init.defaultBranch = "main";
25
30
push.autoSetupRemote = true;
26
31
url."https://github.com/".insteadOf = "gh:";
27
32
gpg.format = "ssh";
28
33
29
29
-
http.proxy = "http://127.0.0.1:2080";
34
34
+
# GH integration
35
35
+
credential =
36
36
+
let
37
37
+
github.helper = "!${lib.getExe pkgs.gh} auth git-credential";
38
38
+
in
39
39
+
{
40
40
+
"https://github.com" = github;
41
41
+
"https://gist.github.com" = github;
42
42
+
};
30
43
31
44
user = {
32
45
name = "Leah Amelia Chen";