Disabling Firefox breaks my system

I removed these lines in my configuration:

# Install firefox.
programs.firefox.enable = true;

And, it broke my system. Unable to start Gnome and no network.

Why is it? This is clearly unexpected. I put the lines back and everything has returned to normal.

This question will be unanswerable without more details. Have you considered posting your full config and perchance some relevant journal logs?

4 Likes

By the way, it seems extremely unlikely that this option is involved, since the NixOS FF module doesn’t appear to enable any other dependent options.

Here is my NixOS config.

For the logs, I don’t know what would be useful to share.

I had a crash while switching to a new generation.

I added these lines back to my configuration (that I had previously removed):

# Install firefox.
programs.firefox.enable = true;

And then I was back with a functional system.

But then, I removed these two lines again, I switched to the new generation and my system was still functional.

I don’t understand what is going on. @waffle8946 seems right. It was a correlation.