use firefox-wayland

This commit is contained in:
Charlotte 🦝 Delenk 2022-07-06 08:09:27 +01:00
parent 3e2104f764
commit c3adc4537b
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122
2 changed files with 4 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{pkgs, ...}: { {pkgs, ...}: {
programs.firefox = { programs.firefox = {
package = pkgs.firefox; package = pkgs.firefox-wayland;
enable = true; enable = true;
extensions = with pkgs.nur.repos.rycee.firefox-addons; [ extensions = with pkgs.nur.repos.rycee.firefox-addons; [
clearurls clearurls
@ -10,7 +10,6 @@
don-t-fuck-with-paste don-t-fuck-with-paste
i-dont-care-about-cookies i-dont-care-about-cookies
keepassxc-browser keepassxc-browser
plasma-integration
privacy-badger privacy-badger
privacy-possum privacy-possum
sponsorblock sponsorblock

View file

@ -179,10 +179,13 @@ in {
export QT_QPA_PLATFORM=wayland export QT_QPA_PLATFORM=wayland
export QT_WAYLAND_DISABLE_WINDOWDECORATION="1" export QT_WAYLAND_DISABLE_WINDOWDECORATION="1"
export _JAVA_AWT_WM_NONREPARENTING=1 export _JAVA_AWT_WM_NONREPARENTING=1
export MOZ_ENABLE_WAYLAND=1
export XDG_CURRENT_DESKTOP=sway
''; '';
extraConfig = '' extraConfig = ''
exec ${dbus-sway-environment}/bin/dbus-sway-environment exec ${dbus-sway-environment}/bin/dbus-sway-environment
exec ${configure-gtk}/bin/configure-gtk exec ${configure-gtk}/bin/configure-gtk
exec ${pkgs.systemd}/bin/systemctl --user import-environment
''; '';
}; };