feat(ticketing): add enable option

This commit is contained in:
2026-05-22 09:50:33 +02:00
parent bf248d495b
commit 505aa1d356
2 changed files with 20 additions and 5 deletions

View File

@@ -1,7 +1,21 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
jira-cli-go
];
config,
lib,
pkgs,
...
}:
let
cfg = config.ticketing;
in
{
options.ticketing = {
enable = lib.mkEnableOption "ticketing";
};
config = lib.mkIf cfg.enable {
home.packages = with pkgs; [
jira-cli-go
];
};
}