Hi Nix, Nixpkgs, NixOS users,
This early morning I had to wake too early to catch a train, so I was listening to music while taking shit to keep myself awake and energetic.
(Idea 1)
I had this really cool idea on making the nixpkgs binary cache more decentralised and possibly a way.
This will also solve the scaling problem.
Short answer: p2p
But how?
The key is content addressed chunks(binaries in this case). Either we do content addressed derivation outputs or make a map of all output has and their content addressed hash and then we sign with Nostr for all those content addressed hash via hydra(or any trustworthy builder). This way our binary and derivation can pass travel in bluetooth, wifi, internet , meshtastic or even in a pendrive through a pigeon and we can still prove it's origin through it's sign. And now our binaries can be sent any way and clients can just verify the hash, sign etc like Nostr and so we can distribute it via freenet, bittorrent etc, so when u need a binary it can piece it out from all those 100s or 1000s of users instead of relying only on the upstream binary cache. This scales more and more. People can receive and send binaries to the community helping each other self reliantly.
More and more such ideas are coming to my mind.
PS:
Recently I have been exploring stuffs like nostr, content-addressed chunks, merkle-tree, decentralisation etc. So my subconscious led me to this I guess. Dr Stone music is way too powerful for me too.
The track I was listening to:
https://www.youtube.com/watch?v=1JLZHAMv_qY
#nix #nixpkgs #nixos #freenet #fips #p2p #decentralisation #nixhydra #music #anime #binary #derivation
This early morning I had to wake too early to catch a train, so I was listening to music while taking shit to keep myself awake and energetic.
(Idea 1)
I had this really cool idea on making the nixpkgs binary cache more decentralised and possibly a way.
This will also solve the scaling problem.
Short answer: p2p
But how?
The key is content addressed chunks(binaries in this case). Either we do content addressed derivation outputs or make a map of all output has and their content addressed hash and then we sign with Nostr for all those content addressed hash via hydra(or any trustworthy builder). This way our binary and derivation can pass travel in bluetooth, wifi, internet , meshtastic or even in a pendrive through a pigeon and we can still prove it's origin through it's sign. And now our binaries can be sent any way and clients can just verify the hash, sign etc like Nostr and so we can distribute it via freenet, bittorrent etc, so when u need a binary it can piece it out from all those 100s or 1000s of users instead of relying only on the upstream binary cache. This scales more and more. People can receive and send binaries to the community helping each other self reliantly.
More and more such ideas are coming to my mind.
PS:
Recently I have been exploring stuffs like nostr, content-addressed chunks, merkle-tree, decentralisation etc. So my subconscious led me to this I guess. Dr Stone music is way too powerful for me too.
The track I was listening to:
https://www.youtube.com/watch?v=1JLZHAMv_qY
#nix #nixpkgs #nixos #freenet #fips #p2p #decentralisation #nixhydra #music #anime #binary #derivation
4