packages.firefox: add default-pwa profile

This commit is contained in:
陈浩南 2024-09-02 21:12:55 +08:00
parent 57cdcaada2
commit 6fc2c61ca1

View File

@ -25,9 +25,10 @@ inputs:
{
enable = true;
nativeMessagingHosts = with inputs.pkgs; [ plasma-browser-integration uget-integrator firefoxpwa ];
# TODO: use fixed-version of plugins
policies.DefaultDownloadDirectory = "\${home}/Downloads";
profiles.default =
profiles = rec
{
default =
{
extensions = with inputs.pkgs.firefox-addons;
[
@ -65,6 +66,8 @@ inputs:
"extensions.autoDisableScopes" = 0;
};
};
default-pwa = default // { id = 1; };
};
};
home.file.".mozilla/firefox/profiles.ini".force = true;
};