diff --git a/users/myuser/graphical/firefox.nix b/users/myuser/graphical/firefox.nix index 56ec1fb..3ccc39e 100644 --- a/users/myuser/graphical/firefox.nix +++ b/users/myuser/graphical/firefox.nix @@ -8,4 +8,15 @@ # To allow vaapi access for hardware acceleration MOZ_DISABLE_RDD_SANDBOX = 1; }; + + home.persistence."/state".directories = [ + "Downloads" + ]; + + xdg.mimeApps.defaultApplications = { + "text/html" = ["firefox.desktop"]; + "text/xml" = ["firefox.desktop"]; + "x-scheme-handler/http" = ["firefox.desktop"]; + "x-scheme-handler/https" = ["firefox.desktop"]; + }; }