diff --git a/hosts/jpporta-nixos/home.nix b/hosts/jpporta-nixos/home.nix index 780682d..19746a2 100644 --- a/hosts/jpporta-nixos/home.nix +++ b/hosts/jpporta-nixos/home.nix @@ -31,6 +31,7 @@ ../../modules/home-manager/pi ../../modules/home-manager/tmux ../../modules/home-manager/openspec + ../../modules/home-manager/dev-orchestrator ../../modules/home-manager/power-profiles ../../modules/home-manager/ntfy-notify ../../modules/home-manager/pinentry @@ -94,6 +95,7 @@ enable = true; }; openspec.enable = true; + dev-orchestrator.enable = true; power-profiles.enable = true; ntfy-notify.enable = true; bitwarden.enable = true; diff --git a/modules/home-manager/dev-orchestrator/default.nix b/modules/home-manager/dev-orchestrator/default.nix new file mode 100644 index 0000000..9228b27 --- /dev/null +++ b/modules/home-manager/dev-orchestrator/default.nix @@ -0,0 +1,16 @@ +{ lib, config, pkgs, ... }: +{ + options.custom = { + dev-orchestrator.enable = lib.mkEnableOption "enable dev-orchestrator — OpenSpec + OpenCode dev→QA loop with git worktrees"; + }; + + config = lib.mkIf config.custom.dev-orchestrator.enable { + home.packages = [ + (pkgs.writeShellApplication { + name = "dev-orchestrator"; + runtimeInputs = with pkgs; [ git ]; + text = builtins.readFile ../../../tooling/dev-orchestrator; + }) + ]; + }; +}