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