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; };
|
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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Reference in a new issue