all repos — nixfiles @ a6de2a6cc6f9aaeed6d14ac0e0824685f4c12a5a

System and user configuration, managed by nix and home-manager

Install more fonts via nixpkgs
Alan Pearce alan@alanpearce.eu
Thu, 13 Jul 2023 19:45:45 +0200
commit

a6de2a6cc6f9aaeed6d14ac0e0824685f4c12a5a

parent

8f91452e14f986669aef418cbcebacc790b863af

3 files changed, 19 insertions(+), 9 deletions(-)

jump to
M user/config.nixuser/config.nix
@@ -1,4 +1,5 @@ { pkgs }: {
   allowUnfree = true;
   allowUnfreePredicate = pkg: true;
+  input-fonts.acceptLicense = true;
 }
M user/settings/emacs.nixuser/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.nixuser/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