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

@@ -81,6 +81,7 @@
git.github.enable = true; git.github.enable = true;
git.gitlab.enable = true; git.gitlab.enable = true;
secrets.vault.enable = true; secrets.vault.enable = true;
ticketing.enable = true;
programs = { programs = {
gh.enable = true; gh.enable = true;

View File

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