This is a very useful blog post that talks about about how to use modern Nix.
https://serokell.io/blog/practical-nix-flakes
Mastodon server of https://doma.dev.