{ config, lib, pkgs, ... }: let cfg = config.my.profiles.claude-code; in { options.my.profiles.claude-code = with lib; { enable = mkEnableOption "Claude Code CLI"; }; config = lib.mkIf cfg.enable { users.users.finn.packages = with pkgs; [ claude-code ripgrep fd gh jq ]; # Future: headless Claude Code service # A natural next step is exposing Claude Code as a persistent background service — # e.g. a systemd user service that accepts work via an HTTP API or Unix socket, # triggerable over SSH or a local network endpoint. This would turn the MiBook # into a true remote execution node without requiring an interactive session. # See: my.profiles.claude-code.service.enable (not yet implemented) }; }