mirror of
https://github.com/CHN-beta/nixos.git
synced 2024-10-23 23:08:44 +08:00
14 lines
354 B
Nix
14 lines
354 B
Nix
inputs:
|
|
{
|
|
config = inputs.lib.mkIf (builtins.elem "desktop" inputs.config.nixos.packages._packageSets)
|
|
{
|
|
# still enable global firefox, to install language packs
|
|
programs.firefox =
|
|
{
|
|
enable = true;
|
|
languagePacks = [ "zh-CN" "en-US" ];
|
|
nativeMessagingHosts.packages = with inputs.pkgs; [ uget-integrator ];
|
|
};
|
|
};
|
|
}
|