remove opencode, it is a nightmare to keep updated, using nix-ld instead
This commit is contained in:
parent
1ebdb42d62
commit
066e915e43
14 changed files with 82 additions and 180 deletions
|
|
@ -4,11 +4,6 @@
|
|||
home-manager.url = "github:rycee/home-manager/release-25.05";
|
||||
ragenix.url = "github:yaxitech/ragenix";
|
||||
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=latest";
|
||||
|
||||
# tmp
|
||||
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
opencode.url = "github:sst/opencode/v0.4.12";
|
||||
opencode.flake = false;
|
||||
};
|
||||
|
||||
outputs =
|
||||
|
|
@ -16,8 +11,6 @@
|
|||
home-manager,
|
||||
ragenix,
|
||||
nix-flatpak,
|
||||
opencode,
|
||||
nixpkgs-unstable,
|
||||
...
|
||||
}:
|
||||
{
|
||||
|
|
@ -30,27 +23,6 @@
|
|||
}:
|
||||
{
|
||||
imports = [
|
||||
(
|
||||
{ ... }:
|
||||
{
|
||||
nixpkgs.overlays = [
|
||||
(final: prev: {
|
||||
opencode = nixpkgs-unstable.legacyPackages.${prev.system}.opencode.overrideAttrs (old: rec {
|
||||
version = "0.4.12";
|
||||
src = opencode;
|
||||
node_modules = old.node_modules.overrideAttrs (nmOld: {
|
||||
outputHash = "sha256-LmNn4DdnSLVmGS5yqLyk/0e5pCiKfBzKIGRvvwZ6jHY=";
|
||||
});
|
||||
tui = old.tui.overrideAttrs (tuiOld: {
|
||||
src = src;
|
||||
modRoot = "packages/tui";
|
||||
vendorHash = "sha256-jINbGug/SPGBjsXNsC9X2r5TwvrOl5PJDL+lrOQP69Q=";
|
||||
});
|
||||
});
|
||||
})
|
||||
];
|
||||
}
|
||||
)
|
||||
home-manager.nixosModules.home-manager
|
||||
ragenix.nixosModules.age
|
||||
nix-flatpak.nixosModules.nix-flatpak
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue