Revert "firefox: move extensions to nixExtensions"
This reverts commit 783790a2e9
.
This commit is contained in:
parent
3188d11a7b
commit
d9a40ec660
|
@ -4,22 +4,15 @@ in {
|
||||||
config = {
|
config = {
|
||||||
programs.firefox = {
|
programs.firefox = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# esr enables you to install unsigned extensions
|
package = pkgs.firefox;
|
||||||
package = pkgs.wrapFirefox pkgs.firefox-esr-unwrapped {
|
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
||||||
nixExtensions = with pkgs.nur.repos.rycee.firefox-addons;
|
darkreader
|
||||||
let
|
duckduckgo-privacy-essentials
|
||||||
extensions_name_src = {
|
sponsorblock
|
||||||
darkreader = darkreader.src;
|
tree-style-tab
|
||||||
ublock-origin = ublock-origin.src;
|
ublock-origin
|
||||||
tree-style-tab = tree-style-tab.src;
|
ublock-origin
|
||||||
sponsorblock = sponsorblock.src;
|
];
|
||||||
duckduckgo-privacy-essentials = duckduckgo-privacy-essentials.src;
|
|
||||||
};
|
|
||||||
make_extension = name: src:
|
|
||||||
((pkgs.fetchFirefoxAddon { inherit name src; }));
|
|
||||||
in
|
|
||||||
lib.mapAttrsToList make_extension extensions_name_src;
|
|
||||||
};
|
|
||||||
profiles = {
|
profiles = {
|
||||||
main = {
|
main = {
|
||||||
isDefault = true;
|
isDefault = true;
|
||||||
|
|
Loading…
Reference in a new issue