Skip to content

Commit

Permalink
revert: "seth/jj: drop"
Browse files Browse the repository at this point in the history
Refs: 1067034
  • Loading branch information
getchoo authored and getchoo-bot[bot] committed Mar 1, 2025
1 parent 6f24314 commit 58d2b4a
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
1 change: 1 addition & 0 deletions users/seth/mixins/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
./git.nix
./gnome.nix
./gpg.nix
./jj.nix
./mangohud.nix
./niri.nix
./nu.nix
Expand Down
33 changes: 33 additions & 0 deletions users/seth/mixins/jj.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,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 = "getchoo@tuta.io";

# https://github.com/jj-vcs/jj/issues/4979
git.subprocess = true;
};

signing = {
sign-all = true;
backend = "gpg";
key = "D31BD0D494BBEE86";
};
};
};
};
}

0 comments on commit 58d2b4a

Please sign in to comment.