mirror of
https://github.com/CHN-beta/nixos.git
synced 2024-10-23 01:59:19 +08:00
packages.firefox: add default-pwa profile
This commit is contained in:
parent
57cdcaada2
commit
6fc2c61ca1
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user