justfile: Add sign, rebase and patch recipes for workflow

This commit is contained in:
ulic-youthlic 2025-07-11 01:24:54 +08:00
parent 24797cd72c
commit d69903d7d8
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721

View file

@ -40,6 +40,15 @@ buildHome host=DEFAULT_HOST $USER=DEFAULT_USER:
deadNix:
nix run github:astro/deadnix -- . --exclude ./pkgs/_sources/generated.nix ./nixos/configurations/{Akun,Tytonidae,Cape}/hardware-configuration.nix
sign:
jj sign --revisions '::@ & ~root() & ~signed() & ~@' --ignore-immutable
patch revision="HEAD":
git push rad {{ revision }}:refs/patches
rebase revision="dev":
jj rebase -b 'all:heads(all()) & ~signed() &~@' -d {{ revision }}
alias s := switch
alias u := update
alias d := deploy