chore: split firefox nix config to own file

This commit is contained in:
oddlama 2023-09-05 01:31:37 +02:00
parent 4e622697a1
commit e8a12ff409
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
2 changed files with 13 additions and 8 deletions

View file

@ -0,0 +1,11 @@
{
programs.firefox.enable = true;
home.sessionVariables = {
MOZ_WEBRENDER = 1;
# For a better scrolling implementation and touch support.
# Be sure to also disable "Use smooth scrolling" in about:preferences
MOZ_USE_XINPUT2 = 1;
# To allow vaapi access for hardware acceleration
MOZ_DISABLE_RDD_SANDBOX = 1;
};
}