-
Notifications
You must be signed in to change notification settings - Fork 0
chore(omp): manage config via dotfiles templates #1221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,6 +23,7 @@ in | |
| ./karabiner | ||
| ./llm | ||
| ./openclaw | ||
| ./omp | ||
| ./opencode | ||
| ./pi | ||
| ./serena | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| lastChangelogVersion: 13.13.2 | ||
| modelRoles: | ||
| default: codex/__GPT__ | ||
| display: | ||
| showTokenUsage: true | ||
| theme: | ||
| dark: dark-dracula | ||
| steeringMode: all | ||
| followUpMode: all | ||
| interruptMode: immediate | ||
| doubleEscapeAction: none | ||
| startup: | ||
| quiet: true | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| lastChangelogVersion: 13.13.2 | ||
| modelRoles: | ||
| default: codex/gpt-5.4 | ||
| display: | ||
| showTokenUsage: true | ||
| theme: | ||
| dark: dark-dracula | ||
| steeringMode: all | ||
| followUpMode: all | ||
| interruptMode: immediate | ||
| doubleEscapeAction: none | ||
| startup: | ||
| quiet: true |
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,10 @@ | ||||||||||||
| { lib, ... }: | ||||||||||||
| { | ||||||||||||
| # Use activation script instead of home.file symlink. | ||||||||||||
| # Keep only the tracked config.yml in dotfiles and leave runtime state untouched. | ||||||||||||
| home.activation.ompConfig = lib.hm.dag.entryAfter [ "writeBoundary" ] '' | ||||||||||||
| $DRY_RUN_CMD mkdir -p ~/.omp/agent | ||||||||||||
| $DRY_RUN_CMD cp -f ${./config.yml} ~/.omp/agent/config.yml | ||||||||||||
| $DRY_RUN_CMD chmod 644 ~/.omp/agent/config.yml | ||||||||||||
|
Comment on lines
+6
to
+8
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For better robustness in shell scripting within Nix expressions, it's preferable to use the
Comment on lines
+7
to
+8
|
||||||||||||
| $DRY_RUN_CMD cp -f ${./config.yml} ~/.omp/agent/config.yml | |
| $DRY_RUN_CMD chmod 644 ~/.omp/agent/config.yml | |
| $DRY_RUN_CMD chmod 700 ~/.omp/agent | |
| $DRY_RUN_CMD cp -f ${./config.yml} ~/.omp/agent/config.yml | |
| $DRY_RUN_CMD chmod 600 ~/.omp/agent/config.yml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR description says the generated config keeps the default role on
codex/__GPT__, butscripts/llm-update.shreplaces__GPT__placeholders with the concrete value frommodels.json(so the generatedconfig.ymlbecomescodex/gpt-5.4). Please update the PR description or adjust the template/substitution behavior if you intended the placeholder to remain in the generated file.