whole flake: working flake-parts

This commit is contained in:
vali 2024-07-21 20:14:19 +02:00
commit 0483b7cf66
16 changed files with 350 additions and 283 deletions

View file

@ -1,30 +1,31 @@
{pkgs, ...}: {
fonts = {
packages = with pkgs; [
material-icons
material-design-icons
(nerdfonts.override {fonts = ["Iosevka" "JetBrainsMono" "ComicShannsMono"];})
(nerdfonts.override {fonts = ["JetBrainsMono" "ComicShannsMono"];})
noto-fonts
noto-fonts-cjk
noto-fonts-cjk
noto-fonts-cjk-sans
noto-fonts-cjk-serif
noto-fonts-emoji
jetbrains-mono
lexend
emacs-all-the-icons-fonts
corefonts
];
# What does this do?
# fonts.enableDefaultPackages: when set to true,
# causes some "basic" fonts to be installed for reasonable Unicode coverage.
# Set to true if you are unsure about what languages you
# might end up reading.
enableDefaultPackages = false;
# this fixes emoji stuff
fontconfig = {
defaultFonts = {
#monospace = ["JetBrainsMono Nerd Font" "Noto Color Emoji"];
monospace = ["ComicShannsMono Nerd Font" "Noto Color Emoji"];
sansSerif = ["Lexend" "Noto Color Emoji"];
serif = ["Noto Serif" "Noto Color Emoji"];
emoji = ["Noto Color Emoji"];
};
};
# fontconfig = {
# defaultFonts = {
# #monospace = ["JetBrainsMono Nerd Font" "Noto Color Emoji"];
#
# monospace = ["ComicShannsMono Nerd Font" "Noto Color Emoji"];
# sansSerif = ["Lexend" "Noto Color Emoji"];
# serif = ["Noto Serif" "Noto Color Emoji"];
# emoji = ["Noto Color Emoji"];
# };
# };
};
}