File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 allowUnfreePredicate =
1313 pkg :
1414 builtins . elem ( lib . getName pkg ) [
15- "claude-code"
1615 "discord"
1716 "google-chrome"
1817 "packer"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11{ guiEnabled , ... } :
22let
33 defaultImports = [
4- ./ai.nix
54 ./atuin.nix
65 ./delta.nix
76 ./git.nix
1110 ./k9s.nix
1211 ./kubecolor.nix
1312 ./kubeswitch.nix
13+ ./opencode.nix
1414 ./rclone.nix
1515 ./shell.nix
1616 ./starship.nix
Original file line number Diff line number Diff line change 1+ { pkgs-unstable , ... } :
2+ {
3+ programs . opencode = {
4+ enable = true ;
5+ package = pkgs-unstable . opencode ;
6+ settings = {
7+ theme = "opencode" ;
8+ share = "disabled" ;
9+ autoupdate = false ;
10+ permission = {
11+ "*" = "ask" ;
12+ read = {
13+ "*" = "allow" ;
14+ "*.env" = "ask" ;
15+ } ;
16+ edit = "ask" ;
17+ glob = "allow" ;
18+ grep = "allow" ;
19+ list = "allow" ;
20+ bash = "ask" ;
21+ task = "ask" ;
22+ skill = "ask" ;
23+ lsp = "allow" ;
24+ todoread = "allow" ;
25+ todowrite = "ask" ;
26+ webfetch = "ask" ;
27+ websearch = "ask" ;
28+ codesearch = "ask" ;
29+ external_directory = "ask" ;
30+ doom_loop = "ask" ;
31+ } ;
32+ plugin = [ "opencode-gemini-auth@latest" ] ;
33+ enabled_providers = [
34+ "anthropic"
35+ "google"
36+ ] ;
37+ } ;
38+ } ;
39+ }
You can’t perform that action at this time.
0 commit comments