fix: opencode perms
This commit is contained in:
parent
9c1487cd7d
commit
572a731057
2 changed files with 6 additions and 6 deletions
|
|
@ -69,9 +69,6 @@
|
||||||
User = "jet";
|
User = "jet";
|
||||||
Restart = "always";
|
Restart = "always";
|
||||||
RestartSec = 5;
|
RestartSec = 5;
|
||||||
Environment = [
|
|
||||||
''OPENCODE_PERMISSION={"*":"allow","external_directory":"allow","doom_loop":"allow"}''
|
|
||||||
];
|
|
||||||
ExecStartPre = [
|
ExecStartPre = [
|
||||||
"${pkgs.tailscale}/bin/tailscale serve --bg 4096"
|
"${pkgs.tailscale}/bin/tailscale serve --bg 4096"
|
||||||
];
|
];
|
||||||
|
|
|
||||||
9
home.nix
9
home.nix
|
|
@ -603,9 +603,7 @@ in
|
||||||
"dr" = "direnv reload";
|
"dr" = "direnv reload";
|
||||||
"da" = "direnv allow";
|
"da" = "direnv allow";
|
||||||
"nfu" = "nix flake update";
|
"nfu" = "nix flake update";
|
||||||
"o" =
|
"o" = "opencode";
|
||||||
"OPENCODE_PERMISSION='{\"*\":\"allow\",\"external_directory\":\"allow\",\"doom_loop\":\"allow\"}' opencode";
|
|
||||||
"os" = "opencode";
|
|
||||||
".." = "z ..";
|
".." = "z ..";
|
||||||
j = "jj";
|
j = "jj";
|
||||||
jgf = "jj git fetch";
|
jgf = "jj git fetch";
|
||||||
|
|
@ -862,6 +860,11 @@ in
|
||||||
"$schema" = "https://opencode.ai/config.json";
|
"$schema" = "https://opencode.ai/config.json";
|
||||||
autoupdate = false;
|
autoupdate = false;
|
||||||
plugin = [ "opencode-with-claude" ];
|
plugin = [ "opencode-with-claude" ];
|
||||||
|
permission = {
|
||||||
|
"*" = "allow";
|
||||||
|
external_directory = "allow";
|
||||||
|
doom_loop = "allow";
|
||||||
|
};
|
||||||
mcp.linear = {
|
mcp.linear = {
|
||||||
type = "remote";
|
type = "remote";
|
||||||
url = "https://mcp.linear.app/mcp";
|
url = "https://mcp.linear.app/mcp";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue