this post was submitted on 15 Nov 2023
1 points (100.0% liked)

Nix

1 readers
1 users here now

founded 1 year ago
MODERATORS
 

Kind of a strange question, but let's say that the apocalypse occurs, or at least solar flares that knock out the internet for months. What services would you need to self-host to be able to arbitrarily configure and build a NixOS based system?

Ideally, you'd point your system to self-hosted services, such as your own nixpkgs and binary cache, which get synced with public repos regularly. Is that all that is needed? Or would there be more to it? How would you ensure the cache has all needed packages? Presumably you wouldn't be able to rebuild a lot of packages without internet. Or can dependencies be cached as well?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] dpak90@alien.top 1 points 11 months ago

I think you'd need to clone the entire nixstore or whatever. I made a similar post:
https://www.reddit.com/r/NixOS/comments/12m8ojo/how_big_is_the_nix_store/

โ€‹

So you would need a ton of disk space, atleast 200TBs