diff --git a/modules/server/openclaw.nix b/modules/server/openclaw.nix index f76ce48..958083f 100644 --- a/modules/server/openclaw.nix +++ b/modules/server/openclaw.nix @@ -30,7 +30,7 @@ in { ]; }; - flake.modules.homeManager.server = { + flake.modules.homeManager.server = {pkgs, ...}: { imports = [inputs.nix-openclaw.homeManagerModules.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 = { mode = "local"; };