Open emilazy opened 1 year ago
I've fixed /Applications/Nix Apps
not getting deleted in #687.
As opposed to the installer, I think uninstalling a flake-based system can be handled by the darwin-uninstaller
, need to investigate further into any additional flake-specific logic that needs to be added.
I've fixed
/Applications/Nix Apps
not getting deleted in #687.
That's what confuses me: I was using that version (nix run github:Enzime/...
).
I believe the uninstaller is not unloading launchd daemons before deleting the files, need to check this further.
I thought I'd call this out here too, there's a small bootstrapping issue with the uninstaller being a derivation that has to be built to be run. If someone has any issues actually running nix, and they want to uninstall nix-darwin to get back to a clean state, they can't easily do that right now, since the docs recommend running from the derivation
Some progress was made on this as of #806 as the uninstaller is now installed by default on all nix-darwin
systems, accessible through darwin-uninstaller
, so it no longer needs to be built, however I believe the uninstaller still depends on Nix.
The documentation should probably be updated to recommend running the uninstaller from $PATH
Another thing to consider is what we want to do with users and groups created or managed by nix-darwin
Just off the top of my head:
/run
, esp. after https://github.com/LnL7/nix-darwin/pull/687/Applications/Nix Apps
nix.conf
,bashrc
andzshrc
/run/current-system
$PATH