Add a role for jujutsu.

This commit is contained in:
Tom Alexander
2025-10-25 20:09:07 -04:00
parent 4a0f0bd8c8
commit e4225a82bb
4 changed files with 28 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
{
config,
lib,
pkgs,
...
}:
{
imports = [ ];
options.me = {
jujutsu.enable = lib.mkOption {
type = lib.types.bool;
default = false;
example = true;
description = "Whether we want to install jujutsu.";
};
};
config = lib.mkIf config.me.jujutsu.enable {
environment.systemPackages = with pkgs; [
jujutsu
];
};
}