same firefox configs for both profiles
This commit is contained in:
parent
fee3fc3cb9
commit
faec081c4c
1 changed files with 8 additions and 4 deletions
12
home.nix
12
home.nix
|
@ -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;
|
||||
};
|
||||
};
|
||||
|
|
Reference in a new issue