When I search for font packages, the search tool provides the same installation instructions as it does for other packages.
environment.systemPackages = [
pkgs.liberation_ttf
];
However, as per the NixOS Wiki, fonts should be installed like this:
fonts.packages = with pkgs; [
liberation_ttf
];
It would be helpful to make the package search tool provide correct installation instructions for fonts.
When I search for font packages, the search tool provides the same installation instructions as it does for other packages.
However, as per the NixOS Wiki, fonts should be installed like this:
It would be helpful to make the package search tool provide correct installation instructions for fonts.