about summary refs log tree commit diff stats
path: root/hm/soispha/conf/firefox/default.nix
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2024-01-13 11:38:29 +0100
committerSoispha <soispha@vhack.eu>2024-01-13 11:38:29 +0100
commit12e3c1ad669c7b06bca3ce698798592f3f2567b6 (patch)
treea590ea17f9843e2b3163392fc05b5d30c028eeca /hm/soispha/conf/firefox/default.nix
parentbuild(treewide): Update flake and shell library (diff)
downloadnixos-config-12e3c1ad669c7b06bca3ce698798592f3f2567b6.zip
fix(hm): Move the session variables to their associated service
Diffstat (limited to 'hm/soispha/conf/firefox/default.nix')
-rw-r--r--hm/soispha/conf/firefox/default.nix6
1 files changed, 6 insertions, 0 deletions
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;