chore: Use nixfmt reformat all nix source code
This commit is contained in:
parent
1cdf00cefe
commit
11337b8f9e
184 changed files with 2349 additions and 1943 deletions
|
|
@ -3,9 +3,11 @@
|
|||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
}:
|
||||
let
|
||||
cfg = config.youthlic.programs.jujutsu;
|
||||
in {
|
||||
in
|
||||
{
|
||||
options = {
|
||||
youthlic.programs.jujutsu = {
|
||||
enable = lib.mkEnableOption "jujutsu";
|
||||
|
|
@ -26,7 +28,7 @@ in {
|
|||
};
|
||||
name = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
example = ''youthlic'';
|
||||
example = "youthlic";
|
||||
description = ''
|
||||
jujutsu name
|
||||
'';
|
||||
|
|
@ -43,10 +45,27 @@ in {
|
|||
settings = {
|
||||
"$schema" = "https://jj-vcs.github.io/jj/latest/config-schema.json";
|
||||
aliases = {
|
||||
dlog = ["log" "-r"];
|
||||
l = ["log" "-r" "(trunk()..@):: | (trunk()..@)-"];
|
||||
fresh = ["new" "trunk()"];
|
||||
tug = ["bookmark" "move" "--from" "closest_bookmark(@)" "--to" "closest_pushable(@)"];
|
||||
dlog = [
|
||||
"log"
|
||||
"-r"
|
||||
];
|
||||
l = [
|
||||
"log"
|
||||
"-r"
|
||||
"(trunk()..@):: | (trunk()..@)-"
|
||||
];
|
||||
fresh = [
|
||||
"new"
|
||||
"trunk()"
|
||||
];
|
||||
tug = [
|
||||
"bookmark"
|
||||
"move"
|
||||
"--from"
|
||||
"closest_bookmark(@)"
|
||||
"--to"
|
||||
"closest_pushable(@)"
|
||||
];
|
||||
};
|
||||
snapshot = {
|
||||
auto-track = "true";
|
||||
|
|
@ -84,7 +103,8 @@ in {
|
|||
};
|
||||
revset-aliases = {
|
||||
"closest_bookmark(to)" = "heads(::to & bookmarks())";
|
||||
"closest_pushable(to)" = "heads(::to & mutable() & ~description(exact:\"\") & (~empty() | merges()))";
|
||||
"closest_pushable(to)" =
|
||||
"heads(::to & mutable() & ~description(exact:\"\") & (~empty() | merges()))";
|
||||
"desc(x)" = "description(x)";
|
||||
"pending()" = ".. ~ ::tags() ~ ::remote_bookmarks() ~ @ ~ private()";
|
||||
"private()" = ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue