I just made this to be able to run dendrite-demo-pinecone easily on my computers.
nix-env \
-if https://github.com/bbigras/dendrite-demo-pinecone/tarball/master \
--extra-substituters https://dendrite-demo-pinecone.cachix.org \
--extra-trusted-public-keys dendrite-demo-pinecone.cachix.org-1:qgybhOM1X0JikTrvpYo1HwtsXT2ee+6ajbmCjCns4yI=
with nix run
(nix flakes)
nix run \
--extra-substituters https://dendrite-demo-pinecone.cachix.org \
--extra-trusted-public-keys dendrite-demo-pinecone.cachix.org-1:qgybhOM1X0JikTrvpYo1HwtsXT2ee+6ajbmCjCns4yI= \
github:bbigras/dendrite-demo-pinecone -- \
-peer wss://pinecone.matrix.org/public \
-listen :<some_port>
dendrite-demo-pinecone \
-peer wss://pinecone.matrix.org/public \
-listen :<some_port>
ghcr.io/bbigras/dendrite-demo-pinecone.
docker run \
--net host \
ghcr.io/bbigras/dendrite-demo-pinecone
To build the image:
nix-build -A packages.x86_64-linux.dockerImage
# with nix flakes
nix build .#dockerImage
docker load < ./result
The auto-update script is from https://github.com/colemickens/nixpkgs-wayland.
I'm bbigras
in #p2p:matrix.org