added font config
This commit is contained in:
parent
2178b7e2d9
commit
8252fc9f31
10 changed files with 3805 additions and 13 deletions
|
@ -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" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue