Compare commits
2 Commits
a022550c4e
...
f51e6789f3
| Author | SHA1 | Date | |
|---|---|---|---|
|
f51e6789f3
|
|||
|
ac129e39ed
|
@@ -5,7 +5,24 @@
|
|||||||
inputs,
|
inputs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
let
|
||||||
|
ohMyOpencodeConfig = {
|
||||||
|
"$schema" =
|
||||||
|
"https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json";
|
||||||
|
agents = {
|
||||||
|
Sisyphus.model = "opencode/glm-4.7-free";
|
||||||
|
librarian.model = "opencode/glm-4.7-free";
|
||||||
|
explore.model = "opencode/glm-4.7-free";
|
||||||
|
oracle.model = "opencode/glm-4.7-free";
|
||||||
|
frontend-ui-ux-engineer.model = "opencode/glm-4.7-free";
|
||||||
|
document-writer.model = "opencode/glm-4.7-free";
|
||||||
|
multimodal-looker.model = "opencode/glm-4.7-free";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
in
|
||||||
{
|
{
|
||||||
|
xdg.configFile."opencode/oh-my-opencode.json".text = builtins.toJSON ohMyOpencodeConfig;
|
||||||
|
|
||||||
programs.opencode = {
|
programs.opencode = {
|
||||||
package = inputs.llm-agents.packages.${pkgs.stdenv.hostPlatform.system}.opencode;
|
package = inputs.llm-agents.packages.${pkgs.stdenv.hostPlatform.system}.opencode;
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
@@ -14,6 +14,12 @@
|
|||||||
inputs.nixos-hardware.nixosModules.framework-amd-ai-300-series
|
inputs.nixos-hardware.nixosModules.framework-amd-ai-300-series
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Disable PSR, PSR-SU, and Panel Replay to fix display hangs and corruption.
|
||||||
|
# Panel Replay requires PSR/PSR-SU to also be disabled to avoid issues.
|
||||||
|
# This overrides nixos-hardware's 0x10 with 0x410 (last value wins in kernel cmdline).
|
||||||
|
# https://github.com/NixOS/nixos-hardware/pull/1692
|
||||||
|
boot.kernelParams = lib.mkAfter [ "amdgpu.dcdebugmask=0x410" ];
|
||||||
|
|
||||||
hardware.framework.laptop13.audioEnhancement.rawDeviceName =
|
hardware.framework.laptop13.audioEnhancement.rawDeviceName =
|
||||||
lib.mkDefault "alsa_output.pci-0000_c1_00.6.analog-stereo";
|
lib.mkDefault "alsa_output.pci-0000_c1_00.6.analog-stereo";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user