From f7bcefa02cf0efb85bb12a7b85d0633e18fbd332 Mon Sep 17 00:00:00 2001 From: Emi Simpson Date: Sat, 22 Jul 2023 13:32:55 -0400 Subject: [PATCH] Add new font --- nixos.nix | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/nixos.nix b/nixos.nix index 19704e3..563d6ac 100644 --- a/nixos.nix +++ b/nixos.nix @@ -132,12 +132,21 @@ let systemInformation = import ./system/system-information.nix; in geary totem ]; - fonts.fonts = with pkgs; with import packages/all-packages.nix nixpkgs; [ - justseeds - manrope - google-fonts - comic-mono - ]; + fonts = { + fonts = with pkgs; with import packages/all-packages.nix nixpkgs; [ + justseeds + manrope + google-fonts + comic-mono + atkinson-hyperlegible + ]; + fontDir.enable = true; + enableDefaultFonts = true; + fontconfig.defaultFonts = { + sansSerif = ["Atkinson Hyperlegible"]; + monospace = ["Comic Mono:style=Normal"]; + }; + }; # List services that you want to enable: