feat: fully declare openclaw

This commit is contained in:
Teesh 2026-03-11 21:24:24 +02:00
parent c64aced819
commit f087c62ec5

View file

@ -30,7 +30,7 @@ in {
]; ];
}; };
flake.modules.homeManager.server = { flake.modules.homeManager.server = {pkgs, ...}: {
imports = [inputs.nix-openclaw.homeManagerModules.openclaw]; imports = [inputs.nix-openclaw.homeManagerModules.openclaw];
programs.openclaw = { programs.openclaw = {
@ -43,6 +43,40 @@ in {
]; ];
}; };
browser = {
"enabled" = true;
"remoteCdpTimeoutMs" = 1500;
"remoteCdpHandshakeTimeoutMs" = 3000;
"color" = "#FF4500";
"executablePath" = "${pkgs.google-chrome}/bin/google-chrome-stable";
"headless" = true;
"noSandbox" = true;
"attachOnly" = false;
"defaultProfile" = "chrome";
"ssrfPolicy" = {};
"profiles" = {
"openclaw" = {
"cdpPort" = 18800;
"color" = "#FF4500";
};
};
};
agents.defaults = {
"model" = {
"primary" = "anthropic/claude-sonnet-4-6";
"fallbacks" = [];
};
"models" = {
"anthropic/claude-sonnet-4-6" = {
"alias" = "sonnet";
};
};
"compaction" = {
"mode" = "safeguard";
};
};
gateway = { gateway = {
mode = "local"; mode = "local";
}; };