mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 00:03:55 +01:00
librewolf: Use multiple profiles
This commit is contained in:
parent
c23d476f78
commit
8c6d46fcc3
@ -11,26 +11,6 @@ let
|
||||
inherit (lib) mkIf singleton;
|
||||
inherit (nix-config.packages.${pkgs.system}) friendlyfox;
|
||||
|
||||
isPhone = nixosConfig.programs.calls.enable;
|
||||
in
|
||||
{
|
||||
programs.librewolf = {
|
||||
enable = true;
|
||||
|
||||
package = pkgs.librewolf.override {
|
||||
cfg.speechSynthesisSupport = false;
|
||||
};
|
||||
|
||||
profiles.default = {
|
||||
extensions = with nix-config.packages.${pkgs.system}; [
|
||||
ublock-origin
|
||||
yomitan
|
||||
redlib
|
||||
new-tab-identity
|
||||
showdex
|
||||
invidious
|
||||
];
|
||||
|
||||
search = {
|
||||
force = true;
|
||||
default = "Mullvad";
|
||||
@ -101,6 +81,36 @@ in
|
||||
|
||||
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
|
||||
};
|
||||
|
||||
isPhone = nixosConfig.programs.calls.enable;
|
||||
in
|
||||
{
|
||||
programs.librewolf = {
|
||||
enable = true;
|
||||
|
||||
package = pkgs.librewolf.override {
|
||||
cfg.speechSynthesisSupport = false;
|
||||
};
|
||||
|
||||
profiles = {
|
||||
default = {
|
||||
extensions = with nix-config.packages.${pkgs.system}; [
|
||||
ublock-origin
|
||||
yomitan
|
||||
redlib
|
||||
new-tab-identity
|
||||
showdex
|
||||
invidious
|
||||
];
|
||||
|
||||
inherit settings search;
|
||||
};
|
||||
|
||||
work = {
|
||||
id = 1;
|
||||
|
||||
inherit settings search;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user