mirror of
https://github.com/thegeneralist01/config.git
synced 2026-07-21 19:05:19 +02:00
tooling: add new exciting tools!
This commit is contained in:
parent
aa3cbcfb5e
commit
691dfad298
6 changed files with 80 additions and 1 deletions
36
modules/common/jujutsu.nix
Normal file
36
modules/common/jujutsu.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{ pkgs, lib, ... }:
|
||||
let
|
||||
inherit (lib) getExe;
|
||||
in
|
||||
{
|
||||
home-manager.sharedModules = [
|
||||
{
|
||||
programs.jujutsu = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
user = {
|
||||
name = "TheGeneralist";
|
||||
email = "180094941+thegeneralist01@users.noreply.github.com";
|
||||
};
|
||||
|
||||
ui = {
|
||||
default-command = "log";
|
||||
diff-formatter = [ (getExe pkgs.difftastic) "--color=always" ];
|
||||
graph.style = "curved";
|
||||
pager = ":builtin";
|
||||
};
|
||||
|
||||
aliases = {
|
||||
".." = [ "edit" "@-" ];
|
||||
",," = [ "edit" "@+" ];
|
||||
tug = [ "bookmark" "set" "main" "-r" "@-" ];
|
||||
ship = [ "git" "push" "--bookmark" "main" ];
|
||||
};
|
||||
|
||||
remotes.origin.auto-track-bookmarks = "glob:*";
|
||||
};
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue