diff --git a/roles/desktop/firefox.nix b/roles/desktop/firefox.nix index 797fd9e..5a44b3f 100644 --- a/roles/desktop/firefox.nix +++ b/roles/desktop/firefox.nix @@ -31,7 +31,28 @@ "Value" = true; "Status" = "default"; }; + "dom.security.https_only_mode" = { + "Value" = true; + "Status" = "locked"; + }; + # Make firefox use the kde file picker + "widget.use-xdg-desktop-portal.file-picker" = { + "Value" = 1; + "Status" = "default"; + }; + /* + Not sure what this does, + but https://wiki.archlinux.org/title/Firefox#KDE_integration + tells me to enable it + */ + "widget.use-xdg-desktop-portal.mime-handler" = { + "Value" = 1; + "Status" = "default"; + }; }; + "PromptForDownloadLocation" = true; + # I use an external password manager, so the built in one just bothers me + "PasswordManagerEnabled" = false; "Permissions" = { "Autoplay" = { "Allow" = [ "https://www.youtube.com" ];