Moving fonts

This commit is contained in:
ari committed 2024-08-18 20:51:00 -04:00
1 parent 4a87f10d15
commit 2ba65659e4
2 files changed
+36

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
{
fontconfig = {
enable = true;
defaultFonts = {
serif = [ "Fira Code" "DroidSansMono" ];
sansSerif = [ "Fira Code" "DroidSansMono" ];
monospace = [ "Fira Code" ];
};
};
}
+26
View File
@@ -0,0 +1,26 @@
{ config, pkgs, ... }:
{
config = {
fonts = {
packages = with pkgs; [
fira-code
fira-code-symbols
font-awesome
mplus-outline-fonts.githubRelease
noto-fonts-emoji
];
enableDefaultPackages = true;
fontDir.enable = true;
fontconfig = {
enable = true;
defaultFonts = {
serif = [ "Fira Code" "DroidSansMono" ];
sansSerif = [ "Fira Code" "DroidSansMono" ];
monospace = [ "Fira Code" ];
};
};
};
} // (if config.services.desktopManager.plasma6.enable then {
services.desktopManager.plasma6.notoPackage = pkgs.fira-code;
} else { });
}