From 12e3c1ad669c7b06bca3ce698798592f3f2567b6 Mon Sep 17 00:00:00 2001 From: Soispha Date: Sat, 13 Jan 2024 11:38:29 +0100 Subject: fix(hm): Move the session variables to their associated service --- hm/soispha/conf/firefox/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'hm/soispha/conf/firefox/default.nix') diff --git a/hm/soispha/conf/firefox/default.nix b/hm/soispha/conf/firefox/default.nix index e7903a92..c42b3f1c 100644 --- a/hm/soispha/conf/firefox/default.nix +++ b/hm/soispha/conf/firefox/default.nix @@ -94,8 +94,14 @@ in { home.sessionVariables = { # improve touch input & make scrolling smother MOZ_USE_XINPUT2 = "1"; + # improve wayland support MOZ_ENABLE_WAYLAND = 1; + + # tell gtk to use portals + GTK_USE_PORTAL = 1; + + BROWSER = "firefox"; }; programs.firefox = { enable = true; -- cgit 1.4.1