Install more fonts via nixpkgs
Alan Pearce alan@alanpearce.eu
Thu, 13 Jul 2023 19:45:45 +0200
3 files changed, 19 insertions(+), 9 deletions(-)
M user/config.nix → user/config.nix
@@ -1,4 +1,5 @@ { pkgs }: { allowUnfree = true; allowUnfreePredicate = pkg: true; + input-fonts.acceptLicense = true; }
M user/settings/emacs.nix → user/settings/emacs.nix
@@ -194,15 +194,6 @@ ''; }; home.packages = with pkgs; [ editorScript - # see https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/data/fonts/nerdfonts/shas.nix - (nerdfonts.override { - fonts = [ - "NerdFontsSymbolsOnly" - "JetBrainsMono" - "IBMPlexMono" - "iA-Writer" - ]; - }) ]; xdg.configFile."emacs/early-init.el" = { source = ../emacs/early-init.el;
M user/settings/user-interface.nix → user/settings/user-interface.nix
@@ -24,6 +24,24 @@ home.packages = with pkgs; [ librewolf logseq + + hack-font + ibm-plex + input-fonts + jetbrains-mono + meslo-lg + recursive + # see https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/data/fonts/nerdfonts/shas.nix + (nerdfonts.override { + fonts = [ + "Hack" + "JetBrainsMono" + "IBMPlexMono" + "iA-Writer" + "Meslo" + "NerdFontsSymbolsOnly" + ]; + }) ] ++ lib.optionals (!stdenv.isDarwin) (with pkgs; [ falkon