-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
Summary
The current module only supports home-manager (user-level systemd service). This means the gateway runs with full access to the user's personal files, SSH keys, credentials, etc.
Upstream issue: moltbot/moltbot#2341
Proposal
Add a NixOS module (nixosModules.clawdbot) that:
- Creates a dedicated
clawdbotsystem user with minimal privileges - Runs the gateway as a system-level systemd service
- Applies systemd hardening options:
DynamicUser=trueor dedicated userProtectHome=truePrivateTmp=trueNoNewPrivileges=trueProtectSystem=strict- etc.
- Manages credentials in the isolated user's home
Use Case
Security-conscious users who want to run clawdbot on a server without exposing their personal files to the LLM.
Notes
- Claude OAuth credentials would need to be set up separately for the clawdbot user
- Could coexist with the home-manager module for different use cases
ElPiloto, KenMacD, tjbrn, itpropro and lhanson
Metadata
Metadata
Assignees
Labels
No labels