I have a firefox.nix file, which is imported in systemPackages using (callPackage ./firefox.nix { gconf = gnome2.GConf; })
:
I get a firefox-exe
, and then I run it as another user (I create a firefox user, with a home directory in /home/firefox
and run it as sudo -i -u firefox firefox-exe
).
For some reason, whenever I update firefox (I change the version and run nixos-rebuild switch --upgrade
) and then restart firefox, firefox resets itself (looses everything, history, bookmarks, cookies), even though /home/firefox/.cache
, /home/firefox/.config
, and /home/firefox/.mozilla
still exists.
What’s happening here? Whenever I used firefox on non-nixos systems, it didn’t do this?