Font config

This commit is contained in:
fleaz 2022-02-03 17:40:32 +01:00
parent 9ad8f102bc
commit c880f2a541
3 changed files with 9 additions and 0 deletions

View file

@ -10,6 +10,7 @@
imports = [ imports = [
# Include the results of the hardware scan. # Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
../../modules/fonts.nix
../../modules/sound.nix ../../modules/sound.nix
../../modules/opengl.nix ../../modules/opengl.nix
../../modules/ssh.nix ../../modules/ssh.nix

View file

@ -13,6 +13,7 @@ in {
./hardware-configuration.nix ./hardware-configuration.nix
../../home-manager/default.nix ../../home-manager/default.nix
../../modules/earlyoom.nix ../../modules/earlyoom.nix
../../modules/fonts.nix
../../modules/opengl.nix ../../modules/opengl.nix
../../modules/remote-builder.nix ../../modules/remote-builder.nix
../../modules/sound.nix ../../modules/sound.nix

7
modules/fonts.nix Normal file
View file

@ -0,0 +1,7 @@
{
fonts.fontconfig.defaultFonts = {
monospace = [ "Fira Code" "Source Code Pro For Powerline" "Roboto Mono" "DejaVu Sans Mono" ];
sansSerif = [ "Roboto Regular" "DejaVu Sans" ];
serif = [ "Roboto Slab Regular" "DejaVu Serif" ];
};
}