update opencode to more recent version with overlay
This commit is contained in:
parent
78757b8fdb
commit
5eadff9ccd
7 changed files with 117 additions and 50 deletions
|
|
@ -4,6 +4,8 @@
|
|||
home-manager.url = "github:rycee/home-manager/release-25.05";
|
||||
ragenix.url = "github:yaxitech/ragenix";
|
||||
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=latest";
|
||||
|
||||
nixpkgs_opencode.url = "github:nixos/nixpkgs/pull/419604/head";
|
||||
};
|
||||
|
||||
outputs =
|
||||
|
|
@ -11,6 +13,7 @@
|
|||
home-manager,
|
||||
ragenix,
|
||||
nix-flatpak,
|
||||
nixpkgs_opencode,
|
||||
...
|
||||
}:
|
||||
{
|
||||
|
|
@ -23,6 +26,16 @@
|
|||
}:
|
||||
{
|
||||
imports = [
|
||||
(
|
||||
{ ... }:
|
||||
{
|
||||
nixpkgs.overlays = [
|
||||
(final: prev: {
|
||||
opencode = nixpkgs_opencode.legacyPackages.${prev.system}.opencode;
|
||||
})
|
||||
];
|
||||
}
|
||||
)
|
||||
home-manager.nixosModules.home-manager
|
||||
ragenix.nixosModules.age
|
||||
nix-flatpak.nixosModules.nix-flatpak
|
||||
|
|
@ -36,6 +49,7 @@
|
|||
./secrets
|
||||
];
|
||||
config = {
|
||||
|
||||
_module.args = {
|
||||
inherit ragenix;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue