tangled
alpha
login
or
join now
koi.rip
/
dotfiles
0
fork
atom
my nixos dotfiles :3 (git.koi.rip mirror)
git.koi.rip/koi/dotfiles
linux
dotfiles
neovim
nixos
catppuccin
0
fork
atom
overview
issues
pulls
pipelines
jujutsu: init :3
koi.rip
2 months ago
47619b0e
26c2ef7e
+70
-13
5 changed files
expand all
collapse all
unified
split
external
gitmessage.txt
flake.lock
home
modules
programs
default.nix
git.nix
jujutsu.nix
+7
external/gitmessage.txt
···
1
1
+
2
2
+
3
3
+
# remember to set commit author to pr author when merging
4
4
+
# Reviewed-on:
5
5
+
# Reviewed-by: koi <me@koi.rip>
6
6
+
# Signed-off-by: koi <me@koi.rip>
7
7
+
# Co-authored-by: user <user@users.noreply.github.com>
+4
-4
flake.lock
···
35
35
]
36
36
},
37
37
"locked": {
38
38
-
"lastModified": 1767835245,
39
39
-
"narHash": "sha256-U2JarlML426gEC7cjWErNMpeF2+/XkW2HX5D6VOARu8=",
40
40
-
"rev": "0e89ca2859ae7d24b6d8f3311895e995313007b1",
38
38
+
"lastModified": 1768008191,
39
39
+
"narHash": "sha256-dY0y7oq/mDxa+gg+50uMSlRgFGACTfFTasbS8/8hd4Y=",
40
40
+
"rev": "1258a8c08b1876bceb3baa0cd9f6b0a067c6eea1",
41
41
"type": "tarball",
42
42
-
"url": "https://codeberg.org/api/v1/repos/koibtw/anvim/archive/0e89ca2859ae7d24b6d8f3311895e995313007b1.tar.gz?rev=0e89ca2859ae7d24b6d8f3311895e995313007b1"
42
42
+
"url": "https://codeberg.org/api/v1/repos/koibtw/anvim/archive/1258a8c08b1876bceb3baa0cd9f6b0a067c6eea1.tar.gz?rev=1258a8c08b1876bceb3baa0cd9f6b0a067c6eea1"
43
43
},
44
44
"original": {
45
45
"type": "tarball",
+1
home/modules/programs/default.nix
···
9
9
./zoxide.nix
10
10
./neovim.nix
11
11
./cuteff.nix
12
12
+
./jujutsu.nix
12
13
./jellyfin-rpc.nix
13
14
14
15
./niri.nix
+1
-9
home/modules/programs/git.nix
···
62
62
};
63
63
};
64
64
65
65
-
home.file.".gitmessage".text = ''
66
66
-
67
67
-
68
68
-
# remember to set commit author to pr author when merging
69
69
-
# Reviewed-on:
70
70
-
# Reviewed-by: koi <me@koi.rip>
71
71
-
# Signed-off-by: koi <me@koi.rip>
72
72
-
# Co-authored-by: user <user@users.noreply.github.com>
73
73
-
'';
65
65
+
home.file.".gitmessage".source = ../../../external/gitmessage.txt;
74
66
}
+57
home/modules/programs/jujutsu.nix
···
1
1
+
{
2
2
+
programs.jujutsu = {
3
3
+
enable = true;
4
4
+
5
5
+
settings = {
6
6
+
user = {
7
7
+
name = "koi";
8
8
+
email = "me@koi.rip";
9
9
+
};
10
10
+
11
11
+
signing = {
12
12
+
behavior = "force";
13
13
+
backend = "gpg";
14
14
+
key = "5A530832DA9120B0CA57DDB67CBDB58ECF1D3478";
15
15
+
};
16
16
+
17
17
+
ui = {
18
18
+
diff-formatter = ":git";
19
19
+
pager = [
20
20
+
"sh"
21
21
+
"-c"
22
22
+
"diff-so-fancy | less -RFX"
23
23
+
];
24
24
+
};
25
25
+
26
26
+
colors = {
27
27
+
"diff added token" = {
28
28
+
underline = false;
29
29
+
};
30
30
+
"diff removed token" = {
31
31
+
underline = false;
32
32
+
};
33
33
+
};
34
34
+
35
35
+
aliases = {
36
36
+
init = [
37
37
+
"git"
38
38
+
"init"
39
39
+
"--colocate"
40
40
+
];
41
41
+
};
42
42
+
43
43
+
templates = {
44
44
+
draft_commit_description = ''
45
45
+
concat(
46
46
+
builtin_draft_commit_description,
47
47
+
"${
48
48
+
builtins.replaceStrings [ "# " ] [ "JJ: " ] (builtins.readFile ../../../external/gitmessage.txt)
49
49
+
}",
50
50
+
"\nJJ: ignore-rest\n",
51
51
+
diff.git(),
52
52
+
)
53
53
+
'';
54
54
+
};
55
55
+
};
56
56
+
};
57
57
+
}