-
-
Notifications
You must be signed in to change notification settings - Fork 467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
My flake installation keeps crashing. #602
Comments
$ sudo nix-collect-garbage -d After doing that, the ssl went away. error: unable to download 'https://github.com/LnL7/nix-darwin/archive/master.tar.gz': Problem with the SSL CA cert (path? access rights?) (77) The rest of the macs also lost ssl;; First, I changed home-manager as main, (It is unknown whether the migrate work of home-manager can also restore env-vars initialization settings. I'll leave the results in the comments again.) second.. install as basic(not flake method) nix-darwin for addon. |
In the build where home-manager is the main one, initial setup problems such as environment variables are set up well without any problems. |
Troubleshooting working... nix completely blown away. It's not because of nix-darwin (because the problem occurred in montery, which left only the home-manager where nix-darwin was deleted. ) Perhaps if ventura is also deleted after reboot ventura com, my garbage collector command is dangerous, and https://nixos.org/guides/nix-pills/garbage-collector.html |
error: not linking environment.etc."nix/nix.conf" because /etc/nix/nix.conf already exists, skipping... |
I adjusted garbage collection, deleted all of nix, and reinstalled. |
A complete guess but if you use flakes then you don't use nix/nix.conf and so that could be gced away and so no existing link. |
I have had that |
Main systems are not touched they remain safe in keychain |
Recently, there haven't been any issues, and it doesn't crash. I'm not sure why, but for a while, I only did gc without sudo in nix-darwin. |
I am still unsure of many thinhs regarding NIX there is just so much incorrect and outdated information out there. I think auto garbage collection and store optimisation settings are also carried out by the daemon, if enabled. |
My flake installation keeps crashing.
intel-mac Monterey was broken, so I solved it by reinstalling,
My intel-mac with ventura was broken after garbage collection today.
Luckily, I got the PATH information from the terminal that remembers the PATH setting,
Not erased, survived, but
NixOS/nix#3261
in the last month? In ventura, you need to reboot for nix-build to take effect.
When will it stabilize?
One of the two Macs is set up as home-manager, should I configure two test types.. I'm contemplating.
I hope the nix-darwin flake will be stabilized soon.
The text was updated successfully, but these errors were encountered: