blob: 54b83a1e632f238bc8a4190971cae07ecd4a0fa9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
{ config, lib, ... }:
{
assertions = [
{
assertion =
config.programs.jujutsu.enable -> (config.programs.git.enable && config.programs.gh.enable);
message = "`programs.git` and `programs.gh` are required to use `programs.jujutsu`";
}
];
programs = {
jujutsu = {
enable = lib.mkDefault config.programs.git.enable;
settings = {
user = {
name = "Seth Flynn";
email = "[email protected]";
# https://github.com/jj-vcs/jj/issues/4979
git.subprocess = true;
};
signing = {
sign-all = true;
backend = "gpg";
key = "D31BD0D494BBEE86";
};
};
};
};
}
|