more modules and move stuff to modules

This commit is contained in:
twoneis 2024-07-23 23:42:50 +02:00
parent 8fd7302ace
commit 38949ee1b7
7 changed files with 80 additions and 55 deletions

18
modules/fonts/default.nix Normal file
View file

@ -0,0 +1,18 @@
{ pkgs, ... }: {
fonts = {
packages = with pkgs; [
alegreya
alegreya-sans
(nerdfonts.override { fonts = [ "FiraCode" ]; })
roboto
ubuntu_font_family
];
fontconfig = {
defaultFonts = {
serif = [ "Alegreya" ];
sansSerif = [ "Alegreya Sans" ];
monospace = [ "Fira Code Nerd Font" ];
};
};
};
}