add opencode from unstable

This commit is contained in:
RingOfStorms (Joshua Bell) 2025-07-07 07:34:31 -05:00
parent 6ac4495912
commit 5fd523965e
2 changed files with 79 additions and 43 deletions

View file

@ -1,10 +1,11 @@
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
# Use relative to get current version for testing
common.url = "path:../../common";
# common.url = "git+https://git.joshuabell.xyz/ringofstorms/dotfiles";
# common.url = "path:../../common";
common.url = "git+https://git.joshuabell.xyz/ringofstorms/dotfiles";
ros_neovim.url = "git+https://git.joshuabell.xyz/ringofstorms/nvim";
};
@ -12,6 +13,7 @@
outputs =
{
nixpkgs,
nixpkgs-unstable,
common,
ros_neovim,
...
@ -39,6 +41,19 @@
...
}:
{
imports = [
(
{ ... }:
{
nixpkgs.overlays = [
(final: prev: {
opencode = nixpkgs-unstable.legacyPackages.${prev.system}.opencode;
})
];
}
)
];
programs = {
steam.enable = true;
};