home: delta: add 'jujutsu.enable'
This commit is contained in:
parent
1b0e1a4692
commit
1fb09cdb0d
1 changed files with 7 additions and 0 deletions
|
|
@ -11,6 +11,10 @@ in
|
||||||
git = {
|
git = {
|
||||||
enable = my.mkDisableOption "git integration";
|
enable = my.mkDisableOption "git integration";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
jujutsu = {
|
||||||
|
enable = my.mkDisableOption "jujutsu integration";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
|
|
@ -20,6 +24,9 @@ in
|
||||||
inherit (cfg) package;
|
inherit (cfg) package;
|
||||||
|
|
||||||
enableGitIntegration = cfg.git.enable;
|
enableGitIntegration = cfg.git.enable;
|
||||||
|
# `jj log -p` does not use `delta`
|
||||||
|
# https://github.com/jj-vcs/jj/issues/4142
|
||||||
|
enableJujutsuIntegration = cfg.jujutsu.enable;
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
features = "diff-highlight decorations";
|
features = "diff-highlight decorations";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue