diff options
| -rw-r--r-- | configs/claude.nix | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/configs/claude.nix b/configs/claude.nix index dbea0de..d42a65a 100644 --- a/configs/claude.nix +++ b/configs/claude.nix @@ -101,9 +101,19 @@ in ]; # The repositories, for every remote (and every claude here, as managed - # settings are the machine's, and win over anyone's own). + # settings are the machine's, and win over anyone's own); and the + # skills synced from the claude.ai account that are of no use here + # (documents, browsers, desktop control), off: hidden from the model + # and from /, each by its name and as the account's (anthropic-skills:). environment.etc."claude-code/managed-settings.json".text = builtins.toJSON { permissions.additionalDirectories = [ "/home/claude/src" ]; + skillOverrides = lib.listToAttrs (lib.concatMap (s: [ + (lib.nameValuePair s "off") + (lib.nameValuePair "anthropic-skills:${s}" "off") + ]) [ + "built-in-browser" "chrome-browser" "computer-use" "deep-research" + "docs" "docx" "pdf" "pptx" "skill-creator" "xlsx" + ]); }; systemd.targets.multi-user.wants = [ "claude-remote-control@main.service" ]; |
