move MOZ_ENABLE_WAYLAND to firefox module

This commit is contained in:
jacekpoz 2024-02-29 01:35:23 +01:00
parent 472c63f5d1
commit a9f23295b1
No known key found for this signature in database
GPG key ID: 94E812A8B12AAE3C
3 changed files with 4 additions and 4 deletions

View file

@ -44,8 +44,6 @@
};
environment.sessionVariables = {
MOZ_ENABLE_WAYLAND = "1";
CHROME_EXECUTABLE = "${pkgs.ungoogled-chromium}/bin/chromium";
};

View file

@ -67,8 +67,6 @@
};
environment.sessionVariables = {
MOZ_ENABLE_WAYLAND = "1";
CHROME_EXECUTABLE = "${pkgs.ungoogled-chromium}/bin/chromium";
MALLOC_PERTURB_ = "$(($RANDOM % 255 + 1))";

View file

@ -95,6 +95,10 @@ in {
config = mkIf cfg.enable {
nixpkgs.overlays = [ inputs.nur.overlay ];
environment.sessionVariables = {
MOZ_ENABLE_WAYLAND = "1";
};
home-manager.users.${username} = {
xdg.desktopEntries = {
firefox-schizo = {