tangled
alpha
login
or
join now
bwc9876.dev
/
nixos-config
1
fork
atom
Flake for my NixOS devices
1
fork
atom
overview
issues
pulls
pipelines
JJ ui config
bwc9876.dev
2 weeks ago
9ee01777
bfcb2157
verified
This commit was signed with the committer's
known signature
.
bwc9876.dev
SSH Key Fingerprint:
SHA256:DanMEP/RNlSC7pAVbnXO6wzQV00rqyKj053tz4uH5gQ=
+38
-6
1 changed file
expand all
collapse all
unified
split
homeModules
jj.nix
+38
-6
homeModules/jj.nix
···
14
14
programs.jujutsu = {
15
15
enable = true;
16
16
settings = {
17
17
-
ui.default-command = "log";
18
18
-
ui.pager = "less -FR";
17
17
+
ui = {
18
18
+
default-command = [
19
19
+
"log"
20
20
+
"--reversed"
21
21
+
"-n"
22
22
+
"15"
23
23
+
];
24
24
+
pager = "less -FR";
25
25
+
editor = lib.mkIf config.cow.neovim.enable "nvim";
26
26
+
diff-editor = ":builtin";
27
27
+
merge-editor = "mergiraf";
28
28
+
};
29
29
+
git = {
30
30
+
private-commits = "description('private:*')";
31
31
+
};
32
32
+
33
33
+
template-aliases = {
34
34
+
"format_short_id(id)" = "id.shortest()";
35
35
+
"format_timestamp(timestamp)" = "timestamp.ago()";
36
36
+
};
19
37
aliases = {
20
20
-
"push" = ["git" "push"];
21
21
-
"pull" = ["git" "fetch"];
22
22
-
"bsm" = ["bookmark" "set" "main"];
38
38
+
"push" = [
39
39
+
"git"
40
40
+
"push"
41
41
+
];
42
42
+
"pull" = [
43
43
+
"git"
44
44
+
"fetch"
45
45
+
];
46
46
+
"bsm" = [
47
47
+
"bookmark"
48
48
+
"set"
49
49
+
"main"
50
50
+
];
23
51
"bm" = ["bookmark"];
24
24
-
"d" = ["describe" "-m"];
52
52
+
"d" = [
53
53
+
"describe"
54
54
+
"-m"
55
55
+
];
25
56
"s" = ["show -s"];
26
57
"ss" = ["show"];
27
58
"n" = ["new"];
···
31
62
};
32
63
33
64
home.packages = with pkgs; [
65
65
+
less
34
66
mergiraf
35
67
];
36
68
});