works maybe

This commit is contained in:
2026-02-23 18:40:12 +02:00
parent 52c6077591
commit 25310fe8b9
5 changed files with 388 additions and 102 deletions

View File

@@ -0,0 +1,46 @@
{
config,
pkgs,
lib,
...
}:
{
users.openclaw = {
isNormalUser = true;
home = "/openclaw";
description = "OpenClaw Agent";
extraGroups = [ "docker" ];
group = "agents";
};
home-manager.users.openclaw =
{
pkgs,
}:
{
programs.openclaw = {
enable = true;
config = {
gateway = {
mode = "local";
auth = {
token = "<gatewayToken>"; # or set OPENCLAW_GATEWAY_TOKEN
};
};
channels.telegram = {
tokenFile = "/run/agenix/telegram-bot-token"; # any file path works
allowFrom = [ 12345678 ]; # your Telegram user ID
};
};
# Built-ins (tools + skills) shipped via nix-steipete-tools.
plugins = [
{ source = "github:openclaw/nix-steipete-tools?dir=tools/summarize"; }
];
};
};
}