https://git.jolheiser.com/dotnix.git
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
{ pkgs, ... }: { programs.jujutsu = { enable = true; settings = { user = { name = "jolheiser"; email = "git@jolheiser.com"; }; ui = { diff.tool = [ "${pkgs.difftastic}/bin/difft" "--color=always" "$left" "$right" ]; editor = "hx"; paginate = "never"; default-command = "log"; }; git.push-bookmark-prefix = "change/"; signing = { behavior = "own"; backend = "ssh"; key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAUxLwkJOlalAHTdkbh+m49XTZGKDqWz1o/o8OLmtQdX"; }; revsets.log = "ancestors(present(@), 5) | ancestors(immutable_heads().., 2) | present(trunk())"; revset-aliases = { "closest_bookmark(to)" = "heads(::to & bookmarks())"; "immutable_heads()" = "builtin_immutable_heads() & remote_bookmarks()"; }; aliases = { push = [ "util" "exec" "git" "push" "origin" "main" ]; fetch = [ "util" "exec" "git" "fetch" "origin" ]; i = [ "git" "init" "--colocate" ]; tug = [ "bookmark" "move" "--from" "closest_bookmark(@-)" "--to" "@-" ]; }; }; }; }