upvote
That's completely different.

Time Machine was a snapshot backup, which if fundamentally different.

reply
Time Machine didn't even get real snapshots until APFS came out with High Sierra in 2017. It had to walk the filesystem while you could still write to it; it wasn't truly point-in-time.

And even then, filesystem snapshotting isn't the kind of rollback you get with Nix, and Nix's implementation doesn't require a filesystem that supports snapshots.

reply
Who cares? It's all means to an end.

I don't have to run an esoteric, experimental OS to achieve the same goal.

It's a net loss of hacker points — like currency of a country that doesn't exist anymore. Both worthless in the real world.

reply
NixOS isn't experimental. It's older than Time Machine. Linux is also just generally more useful as a desktop environment unless you're specifically invested into the Apple ecosystem (e.g. on OSX you get people using Homebrew as a package manager because there's no good builtin one, which IIRC does things like update other packages you didn't ask it to update when you install something, in addition to having its own esoteric vocabulary and error messages, telling you that for this package you should've tapped a cask or whatever when you try to `brew install`).
reply
I've never once had the desire to restore system state from something like Time Machine. If my OS is hosed, it's hosed and I'm going to reinstall it. NixOS doesn't allow you to get into that state because of its very design. It is far from "worthless."
reply
You could restore disk snapshots way before Time Machine, IT departments did it all the time. And you could do it from the network, from a CD, from another drive, from...

But NixOS is not that at all, it's not a backup solution. You can't take TimeMachine (or whatever disk snapshot solution you use, even ZFS if you like) and ask it to reinstall your system from clean just like before, but with a different Firefox version (just to set an example). Or to replicate it partially or totally in a container or VM.

I don't even use NixOS (although I do a lot of snapshots), and it's a completely different thing.

reply
NixOS has never been about hacker points, although its increasing fame among young distrohoppers who want it to play the same role as Gentoo or Arch in certain juvenile subcultures seem to have confused some people on that point. (Such users are of course very welcome and likely to eventually contribute generously in terms of support time, debugging, or code. It's just that sudden changes in a project's popularity tend to challenge cultural continuity.)

> I don't have to run an esoteric, experimental OS to achieve the same goal.

Indeed, you can achieve something pretty decent today on macOS with Nix-Darwin. Both the rollback capability and the declarative configuration management Nix offers are OS-independent.

> It's all means to an end.

Sure! The best reasons to run NixOS are "I enjoy the experience" and "it's really good at this specific thing I want/need to do". NixOS offers experiences that reignite the joy of computing for many, many people. If it deserves any "hacker points", it's for bringing delight to hackers, not for some notion of technological sophistication.

If you've tried it and don't like it, then it's not for you. But if you haven't, though, you might ask yourself whether your healthy tech curmudgeonry, that impulse to resist the arbitrarily trendy, has devolved into philistinism.

reply
It's not about "hacker points", the agent makes complexity nearly invisible (current agents wreck havoc on Nix code quality if left running completely unattended, but that's another question). NixOS gives the agent a devops engine for your machine or a fleet, "global undo" is just one tiny thing it can do. For example the agent can do something in the background without interrupting you using a shadow branch of the entire operating system. It's extremely flexible, Time Machine and systems with immutable snapshots are incomparable.
reply
Solved in 1971 with UNIX permissions.
reply
Rsync could do that in 1996.
reply
Rsync is great but honestly? Time Machine is the number one thing I miss from MacOS by far (went full-Linux about 18mo ago, MacOS user for 15 years prior). The most turnkey and intuitive backup system I’ve ever seen and it’s free*

Having that plus idrive for cloud was just so fire and forget (and cheap!) it was great.

*if you have a drive to store on

reply
[delayed]
reply
I really disliked the time machine UI. It was easy to setup and forget, for sure.
reply
It was a little too cute but if you needed to boot your computer onto a new Mac, it was a few clicks and you’re done. Wonderful experience. That’s why I liked idrive for general access/browsing of files too.

Time Machine was the “oh shit” button for resetting or starting a new computer and it worked very well. It was also very stable and hard to misconfigure.

reply
And dd could do it decades before that. This entirely misses the point of what nix/nixos does.
reply