Questions about profiles/generations on MacOS #51
-
A couple of questions relating to profiles/generations on MacOS:
that package remains in The second question may be completely unrelated to profiles/generations but I'm a nix noob and can't figure out why applications aren't being removed from Thank you for config. It's helping me learn a lot about nix. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @ryanmsnyder! Thanks for giving this project a try. Glad it's helping you learn Nix. I'm still always learning it ;) In re: to your questions:
I added a new Nix app to the project for rollback. Check it out here: If you just want to run the underlying commands and not add this into your configuration (assuming you already used the starter template), it's:
I don't have a quick answer for you. It depends on how you're installing the application. I know with the https://daiderd.com/nix-darwin/manual/index.html#opt-homebrew.masApps I would expect the symlinks to be cleaned up, however. You should be able to manually clean it up yourself, however. That may be a workaround until you get a better answer. I would check with the |
Beta Was this translation helpful? Give feedback.
Also, I've noticed the symlink is being cleaned up from
~/.nix-profile/Applications
when I remove a package/app from being installed viahome-manager
. Likewise with executables in~/.nix-profile/bin
.Finder/ForkLift was still showing the removed package in
~/.nix-profile/Applications
until I restarted them. I guess symlinks aren't automatically refreshed in Finder/ForkLift even if you navigate out of the directory containing the symlinks and then navigate back into it - they have to be relaunched/restarted.