genesis
This commit is contained in:
commit
82a8c33133
39 changed files with 1079 additions and 0 deletions
45
modules/base/fonts.nix
Normal file
45
modules/base/fonts.nix
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
{
|
||||
flake.modules.nixos.base = {pkgs, ...}: {
|
||||
fonts = {
|
||||
packages = with pkgs; [
|
||||
# GUI
|
||||
inter
|
||||
corefonts
|
||||
roboto
|
||||
cantarell-fonts
|
||||
# internationalisation
|
||||
noto-fonts
|
||||
noto-fonts-cjk-sans
|
||||
noto-fonts-cjk-serif
|
||||
noto-fonts-color-emoji
|
||||
noto-fonts-monochrome-emoji
|
||||
unifont
|
||||
unifont_upper
|
||||
unifont-csur
|
||||
# terminal
|
||||
nerd-fonts.iosevka
|
||||
];
|
||||
|
||||
fontconfig = {
|
||||
antialias = true;
|
||||
subpixel.rgba = "rgb";
|
||||
hinting.enable = true;
|
||||
defaultFonts = {
|
||||
serif = ["Noto Serif"];
|
||||
sansSerif = ["Cantarell"];
|
||||
monospace = ["Iosevka Nerd Font"];
|
||||
emoji = ["Noto Color Emoji"];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
flake.modules.nixos.kdePlasma = {
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
services.displayManager.sddm.settings.Theme.Font =
|
||||
lib.concatStrings config.fonts.fontconfig.defaultFonts.sansSerif;
|
||||
};
|
||||
}
|
||||
Loading…
Reference in a new issue