OSTree solves a pretty narrow problem of downloading an app or OS update and unpacking it on disk in an efficient way (forest of hardlinks). Then you can reboot into the new version. Last I checked, OSTree treats the OS as a single image, it doesn't help you build the image at all, and it can't compose multiple images.
Nix/Guix is a package manager that does a lot more than OSTree, such as building packages from source and composing multiple packages into a full system.