Add opencode package and install via base role
Some checks failed
CI / check (push) Successful in 2m50s
CI / build-and-cache (push) Failing after 8m7s

- Add packages/opencode with pre-built binaries from GitHub releases (v1.4.0)
- Support all 4 platforms (aarch64-darwin, x86_64-darwin, x86_64-linux, aarch64-linux)
- Add update-opencode flake app for automated version bumps
- Install opencode via home.roles.base so it's available on all machines
- Reformat flake.nix and packages with nixfmt
This commit is contained in:
2026-04-08 11:33:40 -07:00
parent ddd21454b7
commit 785561367e
5 changed files with 575 additions and 294 deletions

View File

@@ -1,4 +1,9 @@
{ config, lib, pkgs, ... }:
{
config,
lib,
pkgs,
...
}:
with lib;
@@ -24,6 +29,7 @@ in
tmux
tree
watch
custom.opencode
];
# Automatic garbage collection for user profile (home-manager generations).