mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-30 14:11:02 +01:00
mkFirefoxModule: add extension settings example to policies (#7397)
Add an example of using extension settings to control installation and accesibility of a extension in the policies option. Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
parent
153e680c42
commit
b4486ff44a
1 changed files with 8 additions and 0 deletions
|
|
@ -333,6 +333,14 @@ in
|
|||
example = {
|
||||
DefaultDownloadDirectory = "\${home}/Downloads";
|
||||
BlockAboutConfig = true;
|
||||
ExtensionSettings = {
|
||||
"uBlock0@raymondhill.net" = {
|
||||
install_url = "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi";
|
||||
installation_mode = "force_installed";
|
||||
default_area = "menupanel";
|
||||
private_browsing = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue