librewolf: Install yomitan by default

This works, which is great.
This commit is contained in:
Donovan Glover 2024-08-15 23:38:11 -04:00
parent fd35cd9db0
commit d523816621
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 10 additions and 1 deletions

View File

@ -1,4 +1,4 @@
{ pkgs, ... }: { pkgs, firefox-addons, ... }:
let let
friendlyfox = pkgs.stdenvNoCC.mkDerivation (finalAttrs: { friendlyfox = pkgs.stdenvNoCC.mkDerivation (finalAttrs: {
@ -38,6 +38,10 @@ in
package = pkgs.librewolf.override { cfg.speechSynthesisSupport = false; }; package = pkgs.librewolf.override { cfg.speechSynthesisSupport = false; };
profiles.default = { profiles.default = {
extensions = with firefox-addons.packages.${pkgs.system}; [
yomitan
];
search = { search = {
force = true; force = true;
default = "Mullvad"; default = "Mullvad";

View File

@ -3,6 +3,7 @@
pkgs, pkgs,
lib, lib,
config, config,
firefox-addons,
... ...
}: }:
@ -188,6 +189,10 @@ in
homeDirectory = "/home/${username}"; homeDirectory = "/home/${username}";
}; };
extraSpecialArgs = {
inherit firefox-addons;
};
}; };
virtualisation.vmVariant = { virtualisation.vmVariant = {