1
0
Fork 0
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:
Austin Horstman 2025-07-06 10:40:29 -05:00 committed by GitHub
parent 153e680c42
commit b4486ff44a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -333,6 +333,14 @@ in
example = { example = {
DefaultDownloadDirectory = "\${home}/Downloads"; DefaultDownloadDirectory = "\${home}/Downloads";
BlockAboutConfig = true; 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;
};
};
}; };
}); });