nixos-infra/users/rus07tam/modules/openclaw/service.nix
Rustam Efimov 793eeb3161
Some checks failed
Nix CI / build (push) Failing after 3m36s
feat(users/rus07tam): enable openclaw gateway via systemd
2026-04-01 09:56:24 +03:00

38 lines
745 B
Nix

{ sec, inputs, ... }:
{
imports = [
inputs.nix-openclaw.homeManagerModules.openclaw
];
programs.openclaw = {
enable = true;
installApp = false;
systemd.enable = true;
bundledPlugins = {
summarize.enable = true;
};
instances.default = {
enable = true;
systemd.enable = true;
config = {
gateway = {
mode = "local";
auth.token = sec."rus07tam/openclaw/gatewayToken".path;
};
channels.telegram = {
tokenFile = sec."rus07tam/openclaw/telegramToken".path;
allowFrom = [ 6146757977 ];
groups = {
"*" = {
requireMention = true;
};
};
};
};
};
};
}