firefox: Use unstable and sessionVariables

This commit is contained in:
PapaTutuWawa 2021-08-26 19:16:26 +02:00
parent 2114a4fc94
commit a46d4990f4

View File

@ -3,13 +3,12 @@
{ {
config = { config = {
environment = { environment = {
systemPackages = with pkgs; [ firefox-wayland tor-browser-bundle-bin ]; systemPackages = with pkgs; [ unstable.firefox-wayland tor-browser-bundle-bin ];
# Deploy a Firefox policy to set the search engine and do some other things # Deploy a Firefox policy to set the search engine and do some other things
etc."firefox/policies/policies.json".source = ./policies.json; etc."firefox/policies/policies.json".source = ./policies.json;
variables = { sessionVariables = {
# TODO: Use pam_environment once I figure out how to enable it.
# Enable multi-touch... # Enable multi-touch...
"MOZ_USE_XINPUT2" = "1"; "MOZ_USE_XINPUT2" = "1";
# ... and Wayland # ... and Wayland