I use NixOS with Home Manager and flakes.
Plutus, Haskell, Nix, Purescript, Swift/Kotlin. laser-focused on FP: formality, purity, and totality; repulsed by pragmatic, unsafe, “move fast and break things” approaches
AC24 1DE5 AE92 3B37 E584 02BA AAF9 795E 393B 4DA0
I use NixOS with Home Manager and flakes.
If they’re storing it right, it is content addressed, meaning that their servers are aware of duplicates because each file is hashed.
thanks so much for sharing. I’ll give it a look.
It pulls in flakes from flakes. So, unless I want to travel the whole dependency graph down all of the flakes and put them in my top-level flake, I have to use impure. 😕
rebuild_intelTower_withUpdate() { ./home/scripts/pullrelease.sh nix flake update sudo nixos-rebuild switch --flake .#intelTower --impure --show-trace nix build .#homeConfigurations.bismuth-edp.activationPackage --impure --show-trace activateHM }
deleted by creator
I only go there to steal content that I then enhance manually. I always had a kneejerk reaction against the hackernews reposts on Reddit. So, I try to make my content cloning less conspicuous and I make sure to enhance the content with more depth when I bring it here.
It’s kind of a ghost town so far. But if we can wrestle control of social media away from corporate control, democracy across the world will be stronger for it. Regardless, I’m here for the long haul, making contributions FAR exceeding my efforts on Reddit.
Why the fuck is Plex even a company? Attention venture capitalists: Get your money grubbing fingers the fuck off decent technologies that should in no way be tied to profit-seeking. We live in a dystopian hellscape.
I know it’s a strange place for this conversation but the facts remain: docker images don’t do this and nix flakes actually do. As the video I linked demonstrates and you allude to, Docker files aren’t 100% hermetic (which means they’re not reproducible) while Nix flakes actually do achieve this. Watch the video I linked for more explanation which directly talks about how nix works with the goals of Docker that you mentioned in the head of your last comment. I hope my non-confrontational tone comes across somehow. This is all said with respect and in the spirit of science.
No offense but it sounds like you don’t actually understand nix flakes if you think they’re 1:1 equivalent to Docker.
They simply are not containers. They allow the declarative BUILD of any derivation at any time in the future. They hermetically lock all dependencies and build instructions which allows you to archive and reproduce the EXACT content-addressed dependency graph of the software. You can rebuild using a flake while Docker doesn’t actually allow that same hermetic reproducible guarantee whatsoever.
See here for a much better explanation of the glaring differences between the two: https://youtu.be/0uixRE8xlbY
You could even build a container with a flake though I’d recommend OCI instead because they’re an open standard…
How long until nix flakes go mainstream and fix this problem?
The best OS to host on will someday be NixOS, bar none IMO. However, that BEST title will depend heavily on someone sharing a config that leverages the power of NixOS to make it as foolproof and rock-solid as other projects that leverage Nix’s power and reliability.
I’d host an instance if we could would move from the world of Docker being the only game in town toward a more reproducible standard config that uses Nix.
Remove the subsidies on agricultural products that get sprayed with glyphosate to increase yield. Corn, wheat, and potatoes in this country are poison because of the chemicals they spray them with…then they go and put that tainted product into sugars like HCFS.