mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-22 18:51:22 +02:00
librewolf: Use multiple profiles
This commit is contained in:
parent
c23d476f78
commit
8c6d46fcc3
@ -11,26 +11,6 @@ let
|
|||||||
inherit (lib) mkIf singleton;
|
inherit (lib) mkIf singleton;
|
||||||
inherit (nix-config.packages.${pkgs.system}) friendlyfox;
|
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 = {
|
search = {
|
||||||
force = true;
|
force = true;
|
||||||
default = "Mullvad";
|
default = "Mullvad";
|
||||||
@ -101,6 +81,36 @@ in
|
|||||||
|
|
||||||
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
|
"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…
x
Reference in New Issue
Block a user