same firefox configs for both profiles

This commit is contained in:
Pim Kunis 2023-10-01 13:40:26 +02:00
parent fee3fc3cb9
commit faec081c4c

View file

@ -3,6 +3,12 @@ let
nurpkgs = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/master.tar.gz") { inherit pkgs; };
firefox-addons = import ./firefox-addons (args // {inherit nurpkgs; });
homeDirectory = "/home/pim";
firefoxSettings = {
"browser.aboutConfig.showWarning" = false;
"browser.toolbars.bookmarks.visibility" = "always";
"browser.tabs.firefox-view" = false;
"browser.shell.checkDefaultBrowser" = false;
};
in
{
home = {
@ -63,14 +69,12 @@ in
default = {
id = 0;
isDefault = true;
settings = {
"browser.aboutConfig.showWarning" = false;
"browser.toolbars.bookmarks.visibility" = "always";
};
settings = firefoxSettings;
extensions = firefox-addons.default; # TODO: recursive
};
sue = {
id = 1;
settings = firefoxSettings;
extensions = firefox-addons.sue;
};
};