From b0aa1200737546231c0a641413101c4921e54580 Mon Sep 17 00:00:00 2001 From: teutat3s Date: Thu, 8 Feb 2024 17:44:11 +0100 Subject: [PATCH] fix: firefox uses wayland by default now, no more need to use firefox-wayland pkg --- modules/graphical/default.nix | 2 +- modules/user/session-variables.nix | 2 +- pkgs/s.nix | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/graphical/default.nix b/modules/graphical/default.nix index 89119705..bf74609f 100644 --- a/modules/graphical/default.nix +++ b/modules/graphical/default.nix @@ -85,7 +85,7 @@ in { users.users."${psCfg.user.name}".packages = with pkgs; [ alacritty - firefox-wayland + firefox flameshot gnome.adwaita-icon-theme gnome.eog diff --git a/modules/user/session-variables.nix b/modules/user/session-variables.nix index ae96e81a..703d939a 100644 --- a/modules/user/session-variables.nix +++ b/modules/user/session-variables.nix @@ -24,7 +24,7 @@ VISUAL = "/etc/profiles/per-user/${psCfg.user.name}/bin/nvim"; # fix "xdg-open fork-bomb" your preferred browser from here - BROWSER = "${pkgs.firefox-wayland}/bin/firefox"; + BROWSER = "${pkgs.firefox}/bin/firefox"; # node NODE_REPL_HISTORY = "${xdg.dataHome}/node_repl_history"; diff --git a/pkgs/s.nix b/pkgs/s.nix index 1b003b6b..baf7c1c7 100644 --- a/pkgs/s.nix +++ b/pkgs/s.nix @@ -35,6 +35,6 @@ with self; '' esac - ${firefox-wayland}/bin/firefox --new-tab "$URL" + ${firefox}/bin/firefox --new-tab "$URL" ${sway}/bin/swaymsg '[app_id="firefox"]' focus ''