firefox extensions changed to per-profile

This commit is contained in:
Chaos 2023-02-09 15:29:56 +00:00
parent 05f3f1d353
commit 7c64fd7cf4
No known key found for this signature in database

View file

@ -4,6 +4,18 @@
... ...
}: let }: let
isGnome = nixosConfig.services.xserver.desktopManager.gnome.enable; isGnome = nixosConfig.services.xserver.desktopManager.gnome.enable;
extensions = with nixosConfig.nur; [
repos.rycee.firefox-addons.ublock-origin
repos.rycee.firefox-addons.stylus
repos.rycee.firefox-addons.tampermonkey
repos.rycee.firefox-addons.search-engines-helper
repos.rycee.firefox-addons.search-by-image
repos.rycee.firefox-addons.offline-qr-code-generator
repos.rycee.firefox-addons.i-dont-care-about-cookies
repos.rycee.firefox-addons.don-t-fuck-with-paste
repos.rycee.firefox-addons.amp2html
repos.rycee.firefox-addons.a11ycss
];
in { in {
programs.firefox = { programs.firefox = {
enable = true; enable = true;
@ -13,22 +25,11 @@ in {
enableGnomeExtensions = isGnome; enableGnomeExtensions = isGnome;
}; };
}; };
extensions = with nixosConfig.nur; [
repos.rycee.firefox-addons.ublock-origin
repos.rycee.firefox-addons.stylus
repos.rycee.firefox-addons.tampermonkey
repos.rycee.firefox-addons.search-engines-helper
repos.rycee.firefox-addons.search-by-image
repos.rycee.firefox-addons.offline-qr-code-generator
repos.rycee.firefox-addons.i-dont-care-about-cookies
repos.rycee.firefox-addons.don-t-fuck-with-paste
repos.rycee.firefox-addons.amp2html
repos.rycee.firefox-addons.a11ycss
];
profiles."profile" = { profiles."profile" = {
name = "profile"; name = "profile";
id = 0; id = 0;
isDefault = true; isDefault = true;
inherit extensions;
settings = { settings = {
"app.normandy.first_run" = false; "app.normandy.first_run" = false;
"browser.search.region" = "GB"; "browser.search.region" = "GB";