summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--flake.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index ea78b1a43..40e9d337f 100644
--- a/flake.nix
+++ b/flake.nix
@@ -30,6 +30,26 @@
};
});
+ overlays = {
+ default =
+ final: _prev:
+ let
+ node_modules = final.callPackage ./nix/node_modules.nix {
+ inherit rev;
+ };
+ opencode = final.callPackage ./nix/opencode.nix {
+ inherit node_modules;
+ };
+ desktop = final.callPackage ./nix/desktop.nix {
+ inherit opencode;
+ };
+ in
+ {
+ inherit opencode;
+ opencode-desktop = desktop;
+ };
+ };
+
packages = forEachSystem (
pkgs:
let