refactor: reduce duplication and improve consistency across hosts
- Centralize home-manager _module.args in profiles/nixos.nix via sharedModules - Add lib/secrets.nix with mkSyncthingSecrets helper for DRY secret definitions - Move syncthing device IDs to lib/constants.nix - Standardize hostname handling (Darwin hosts now use hostname arg) - Add missing networking.hostName to tahani - Fix redundant string interpolations
This commit is contained in:
@@ -41,7 +41,6 @@
|
||||
'';
|
||||
};
|
||||
};
|
||||
# Antigravity Google models (for opencode-antigravity-auth plugin)
|
||||
provider = {
|
||||
google = {
|
||||
models = {
|
||||
@@ -128,10 +127,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
# oh-my-opencode configuration
|
||||
# - Disables built-in google_auth (using antigravity plugin instead)
|
||||
# - Oracle uses Zen API (opencode/gpt-5.2) instead of ChatGPT subscription
|
||||
# - Frontend/document/multimodal agents use Antigravity Gemini models
|
||||
home.file.".config/opencode/oh-my-opencode.json".text = builtins.toJSON {
|
||||
"$schema" = "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json";
|
||||
google_auth = false;
|
||||
|
||||
Reference in New Issue
Block a user