feat: fully declare openclaw
This commit is contained in:
parent
c64aced819
commit
f087c62ec5
1 changed files with 35 additions and 1 deletions
|
|
@ -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";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue