From d9644039cc44be8e0b94c94fac7664d4945b2346 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Mon, 14 Oct 2024 14:16:48 -0700 Subject: [PATCH] Add fonts to home-manager config --- nix/nixos/configuration.nix | 4 ++-- nix/nixos/fonts.nix | 9 +++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 nix/nixos/fonts.nix diff --git a/nix/nixos/configuration.nix b/nix/nixos/configuration.nix index 89df8650..54c830c0 100644 --- a/nix/nixos/configuration.nix +++ b/nix/nixos/configuration.nix @@ -8,6 +8,7 @@ ./flatpak.nix ./steam.nix ./locale.nix + ./fonts.nix ]; # Configure user @@ -22,8 +23,7 @@ url = "https://github.com/Jafner.keys"; sha256 = "1i3Vs6mPPl965g3sRmbXGzx6zQBs5geBCgNx2zfpjF4="; }; - in pkgs.lib.splitString "\n" (builtins.readFile - authorizedKeys); + in pkgs.lib.splitString "\n" (builtins.readFile authorizedKeys); }; # DO NOT CHANGE diff --git a/nix/nixos/fonts.nix b/nix/nixos/fonts.nix new file mode 100644 index 00000000..c1648d56 --- /dev/null +++ b/nix/nixos/fonts.nix @@ -0,0 +1,9 @@ +{ pkgs, ... }: { + fonts.packages = with pkgs; [ + noto-fonts noto-fonts-cjk noto-fonts-emoji + liberation_ttf + fira-code fira-code-symbols + font-awesome + nerdfonts + ]; +}