4 ms·
It's not that installing Nix is impossible on macOS, it's just that it has some hard-to-ignore limitations now. 1. Having to create a volume when a plain old d
by soraminazuki 6y ago
It's not that installing Nix is impossible on macOS, it's just that it has some hard-to-ignore limitations now.
1. Having to create a volume when a plain old directory should suffice is insane. It's creating a hassle for no good reason for users.
2. /nix would be unencrypted by default if kept in a separate volume. There's also the problem of how to unlock it upon boot.
3. Login items is a very common use case so not supporting it would be problematic for many users.
4. Unreliable sleep is an even bigger problem.
- saagarjha 6y agoI believe Nix actually picks a volume so that it can be encrypted, and it uses one of the many ways to run a script before login (some of which still happen to work) to decrypt it?
- soraminazuki 6y agoIt's still problematic because that can only happen late in the login process.
- saagarjha 6y agoI read that thread a couple weeks back (was doing some firmlink research and stumbled upon it) and I seem to recall someone there finding something that ran pretty early. Perhaps I'm misremembering? I am sure there is at least one way to get this done, but I'll have to go look into what it is.
- mjhoy 6y agoThanks for explaining! It sounds like I am just lucky with my set up not to run into issues. Hopefully they come up with a solution soon.