mirror of
https://github.com/CHN-beta/nixos.git
synced 2024-10-23 06:18:52 +08:00
packages.firefox: add default-pwa profile
This commit is contained in:
parent
57cdcaada2
commit
6fc2c61ca1
@ -25,9 +25,10 @@ inputs:
|
|||||||
{
|
{
|
||||||
enable = true;
|
enable = true;
|
||||||
nativeMessagingHosts = with inputs.pkgs; [ plasma-browser-integration uget-integrator firefoxpwa ];
|
nativeMessagingHosts = with inputs.pkgs; [ plasma-browser-integration uget-integrator firefoxpwa ];
|
||||||
# TODO: use fixed-version of plugins
|
|
||||||
policies.DefaultDownloadDirectory = "\${home}/Downloads";
|
policies.DefaultDownloadDirectory = "\${home}/Downloads";
|
||||||
profiles.default =
|
profiles = rec
|
||||||
|
{
|
||||||
|
default =
|
||||||
{
|
{
|
||||||
extensions = with inputs.pkgs.firefox-addons;
|
extensions = with inputs.pkgs.firefox-addons;
|
||||||
[
|
[
|
||||||
@ -65,6 +66,8 @@ inputs:
|
|||||||
"extensions.autoDisableScopes" = 0;
|
"extensions.autoDisableScopes" = 0;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
default-pwa = default // { id = 1; };
|
||||||
|
};
|
||||||
};
|
};
|
||||||
home.file.".mozilla/firefox/profiles.ini".force = true;
|
home.file.".mozilla/firefox/profiles.ini".force = true;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user