I haven't heard of nix, i have to check it.pcalvert wrote:In that case, I think you may be interested in this: https://nixos.org/nix/emil_21 wrote:It's not just firefox, but any program that i want to have with different setup.
If you want to keep the data separate, you can do that using Firejail.emil_21 wrote:Also, it will be great if you can create portable apps like that - everything run from one folder and saves data in that folder.
For example:PhilCode: Select all
mkdir -p ~/Firejail_home/Firefox_old <=== You only need to do this once. firejail --private=~/Firejail_home/Firefox_old /path/to/old/firefox -no-remote mkdir -p ~/Firejail_home/Firefox_new <=== You only need to do this once. firejail --private=~/Firejail_home/Firefox_new /path/to/new/firefox -no-remote
I have heard of fairjail but haven't test it extensively. Do you mean i can use firejail for any application and set the folder in which the application saves its data?