mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-09-11 12:49:18 +03:00
15 lines
357 B
Nix
15 lines
357 B
Nix
{ config, pkgs, ... }:
|
|
|
|
let
|
|
fonts = pkgs.runCommand "fonts-0.0.0" {} "mkdir -p $out";
|
|
in {
|
|
fonts.fonts = [ pkgs.dejavu_fonts ];
|
|
|
|
test = ''
|
|
echo checking installed fonts >&2
|
|
grep -o "fontrestore default -n" ${config.out}/activate
|
|
grep -o "/share/fonts/truetype/DejaVuSans.ttf /Library/Fonts/DejaVuSans.ttf" ${config.out}/activate
|
|
'';
|
|
}
|
|
|