nixos/modules/packages/firefox.nix

14 lines
354 B
Nix
Raw Normal View History

2024-02-09 22:05:24 +08:00
inputs:
{
config = inputs.lib.mkIf (builtins.elem "desktop" inputs.config.nixos.packages._packageSets)
{
# still enable global firefox, to install language packs
2024-05-17 12:31:43 +08:00
programs.firefox =
{
enable = true;
languagePacks = [ "zh-CN" "en-US" ];
nativeMessagingHosts.packages = with inputs.pkgs; [ uget-integrator ];
2024-05-17 12:31:43 +08:00
};
2024-02-09 22:05:24 +08:00
};
}