added font config

This commit is contained in:
twoneis 2023-11-24 03:48:58 +01:00
parent 2178b7e2d9
commit 8252fc9f31
10 changed files with 3805 additions and 13 deletions

View file

@ -4,7 +4,6 @@
{ pkgs, ... }: {
imports = [
../niri
../gnome
];
@ -75,4 +74,19 @@
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
# Configure fonts
fonts.packages = with pkgs; [
alegreya
alegreya-sans
(nerdfonts.override { fonts = [ "FiraCode" ]; })
];
fonts.fontconfig = {
defaultFonts = {
serif = [ "Alegreya" ];
sansSerif = [ "Alegreya Sans" ];
monospace = [ "Fira Code Nerd Font" ];
};
};
}