profiles/gui: Firefox set as default browser. Wayland enabled?

This commit is contained in:
kat witch 2021-05-02 20:59:35 +01:00
parent 02354d6969
commit 402f3d2cd3
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
2 changed files with 9 additions and 0 deletions

View file

@ -17,6 +17,11 @@ in {
ff-lewd = "firefox -P lewd";
};
home.sessionVariables = {
MOZ_ENABLE_WAYLAND = 1;
XDG_CURRENT_DESKTOP = "sway";
};
programs.firefox = {
enable = true;
extensions = with pkgs.nur.repos.rycee.firefox-addons; [

View file

@ -1,6 +1,10 @@
{ config, pkgs, ... }:
{
environment.variables = {
BROWSER = "firefox";
};
xdg = {
portal = {
enable = true;