dot_testing/home/firefox/default.nix

40 lines
1.8 KiB
Nix
Raw Permalink Normal View History

2023-12-21 17:22:54 -06:00
{ lib, inputs, config, pkgs, home, ... }:
2023-12-21 15:26:09 -06:00
{
2023-12-21 16:06:12 -06:00
programs.firefox = {
2023-12-21 15:26:09 -06:00
enable = true;
2023-12-22 19:41:55 -06:00
package = pkgs.firefox.override {
extraPrefs = ''
// automatically enable firefox extensions installed below
lockPref("extensions.autoDisableScopes", 0);
// enable the gruvbox-dark-theme theme
lockPref("extensions.activeThemeID", "{eb8c4a94-e603-49ef-8e81-73d3c4cc04ff}");
// make the interface compact
lockPref("browser.uidensity", 1);
// make the interface in the correct positions
lockPref(
"browser.uiCustomization.state",
'{"placements":{"widget-overflow-fixed-list":[],"unified-extensions-area":[],"nav-bar":["urlbar-container","back-button","forward-button","stop-reload-button","downloads-button","unified-extensions-button","addon_darkreader_org-browser-action","_aecec67f-0d10-4fa7-b7c7-609a2db280cf_-browser-action","_446900e4-71c2-419f-a6a7-df9c091e268b_-browser-action","umatrix_raymondhill_net-browser-action"],"toolbar-menubar":["menubar-items"],"TabsToolbar":["firefox-view-button","tabbrowser-tabs","new-tab-button","alltabs-button"],"PersonalToolbar":["import-button","personal-bookmarks"]},"seen":["save-to-pocket-button","addon_darkreader_org-browser-action","umatrix_raymondhill_net-browser-action","_446900e4-71c2-419f-a6a7-df9c091e268b_-browser-action","_aecec67f-0d10-4fa7-b7c7-609a2db280cf_-browser-action","developer-button"],"dirtyAreaCache":["unified-extensions-area","nav-bar","PersonalToolbar","toolbar-menubar","TabsToolbar"],"currentVersion":20,"newElementCount":4}'
);
'';
};
2023-12-21 16:06:12 -06:00
profiles = {
main = {
extensions = with inputs.firefox-addons.packages.${pkgs.system}; [
2023-12-21 16:06:12 -06:00
bitwarden
2023-12-22 19:41:55 -06:00
tridactyl
umatrix
violentmonkey
darkreader
gruvbox-dark-theme
2023-12-21 16:06:12 -06:00
];
};
2023-12-21 15:26:09 -06:00
};
};
}