modules/font: Better font config
This commit is contained in:
parent
0d1c4657ca
commit
e2f5bce9c1
|
@ -18,7 +18,9 @@ in
|
||||||
|
|
||||||
services.gnome-keyring.enable = true;
|
services.gnome-keyring.enable = true;
|
||||||
|
|
||||||
|
# e.g. for 1password
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
httpie
|
httpie
|
||||||
wdisplays
|
wdisplays
|
||||||
|
@ -67,11 +69,6 @@ in
|
||||||
foot
|
foot
|
||||||
wofi
|
wofi
|
||||||
|
|
||||||
fira-code
|
|
||||||
dejavu_fonts
|
|
||||||
roboto
|
|
||||||
roboto-slab
|
|
||||||
|
|
||||||
prusa-slicer
|
prusa-slicer
|
||||||
htop
|
htop
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,28 @@
|
||||||
{
|
{ pkgs, ... }: {
|
||||||
fonts.fontconfig.defaultFonts = {
|
fonts = {
|
||||||
monospace = [ "Fira Code" "Source Code Pro For Powerline" "Roboto Mono" "DejaVu Sans Mono" ];
|
fontconfig = {
|
||||||
sansSerif = [ "Roboto Regular" "DejaVu Sans" ];
|
enable = true;
|
||||||
serif = [ "Roboto Slab Regular" "DejaVu Serif" ];
|
antialias = true;
|
||||||
|
cache32Bit = true;
|
||||||
|
defaultFonts = {
|
||||||
|
monospace = [ "Fira Code" "Source Code Pro" "Roboto Mono" "DejaVu Sans Mono" ];
|
||||||
|
sansSerif = [ "Roboto Regular" "DejaVu Sans" ];
|
||||||
|
serif = [ "Roboto Slab Regular" "DejaVu Serif" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
enableDefaultFonts = true;
|
||||||
|
fontDir.enable = true;
|
||||||
|
fonts = with pkgs; [
|
||||||
|
dejavu_fonts
|
||||||
|
fira-code
|
||||||
|
google-fonts
|
||||||
|
inconsolata
|
||||||
|
iosevka
|
||||||
|
liberation_ttf
|
||||||
|
nerdfonts
|
||||||
|
roboto
|
||||||
|
source-code-pro
|
||||||
|
ubuntu_font_family
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue