Configuration for my NixOS based systems and Home Manager
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add opencode overlay

+18
+2
flake.nix
··· 130 130 (final: prev: { 131 131 lmstudio = final.pkgs.callPackage ./overlays/lmstudio.nix { }; 132 132 }) 133 + (import ./overlays/opencode.nix) 133 134 ]; 134 135 }; 135 136 nixosConfigurations.misaki = basicSystem { ··· 216 217 config.allowUnfree = true; 217 218 overlays = [ 218 219 (import ./overlays/neovim.nix) 220 + (import ./overlays/opencode.nix) 219 221 ]; 220 222 }; 221 223 in
+16
overlays/opencode.nix
··· 1 + final: prev: { 2 + opencode = prev.opencode.overrideAttrs (old: rec { 3 + version = "1.4.0"; 4 + src = final.fetchFromGitHub { 5 + owner = "anomalyco"; 6 + repo = "opencode"; 7 + tag = "v${version}"; 8 + hash = "sha256-u3OeU+3Y/O6KEeDiOl+pswBZ7++kMqwoK+ams03qWE4="; 9 + }; 10 + node_modules = old.node_modules.overrideAttrs { 11 + inherit src version; 12 + name = "opencode-node_modules-${version}"; 13 + outputHash = "sha256-atufNVv1pxdcz9TGhlZsQSwZ8E8dxJ7syPA/FD/cZWI="; 14 + }; 15 + }); 16 + }