mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 16:57:55 +00:00
22 lines
371 B
Nix
22 lines
371 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
programs.jujutsu = {
|
|
enable = true;
|
|
settings = {
|
|
user.name = "Your name";
|
|
user.email = "yourname@example.com";
|
|
};
|
|
};
|
|
|
|
build.extraPassthru.tests = {
|
|
runWithJujutsu = let
|
|
wrapper = config.build.toplevel;
|
|
in pkgs.runCommand ''
|
|
[ -x ${lib.getExe' wrapper "jj"} ] && touch $out
|
|
'';
|
|
};
|
|
}
|
|
|
|
|