Skip to content

Commit

Permalink
feat(scm): use YubiKey by default for signing, update jj revsets
Browse files Browse the repository at this point in the history
  • Loading branch information
reo101 committed Nov 28, 2024
1 parent f949807 commit 6c09ec2
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions modules/home-manager/reo101-scm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ in
# TODO: module options???
name = "reo101";
email = "[email protected]";
key = "675AA7EF13964ACB";
# NOTE: GPG
# key = "675AA7EF13964ACB";
# NOTE: YubiKey
key = "7DA978E6383E5885";
in {
home.packages = with pkgs;
builtins.concatLists [
Expand Down Expand Up @@ -99,11 +102,11 @@ in
log = "@ | bases | branches | curbranch::@ | @::nextbranch | downstream(@, branchesandheads)";
};
revset-aliases = {
"bases" = "dev";
"bases" = "master";
"downstream(x,y)" = "(x::y) & y";
"branches" = "downstream(trunk(), branches()) & mine()";
"branches" = "downstream(trunk(), bookmarks()) & mine()";
"branchesandheads" = "branches | (heads(trunk()::) & mine())";
"curbranch" = "latest(branches::@- & branches)";
"currbranch" = "latest(branches::@- & branches)";
"nextbranch" = "roots(@:: & branchesandheads)";
};
};
Expand Down

0 comments on commit 6c09ec2

Please sign in to comment.