diff --git a/nixos/boxes/macmini/default.nix b/nixos/boxes/macmini/default.nix index 255124fc..56c67d4a 100644 --- a/nixos/boxes/macmini/default.nix +++ b/nixos/boxes/macmini/default.nix @@ -12,6 +12,21 @@ ''; }; + fonts.enableFontDir = true; + fonts.fonts = with pkgs; + [ + (fetchzip { + name = "berkeley-mono-fonts"; + url = "file:///" + ../../fonts.zip; + postFetch = '' + mkdir -p $out/share/fonts + unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype + unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype + ''; + sha256 = "sha256-r4R7+GrdbksV+EtV68RlzTauTgBS3tzlqawgTMXyJW8="; + }) + ]; + programs.zsh.enable = true; # default shell on catalina system.stateVersion = 4;