Fonts refactor
This commit is contained in:
1 parent
2ba65659e4
commit
7e09db3801
2 files changed
+19
-22
No files matched your search
@@ -24,5 +24,6 @@ in
|
||||
kdePackages.plasma-browser-integration
|
||||
konsave # save configs
|
||||
];
|
||||
services.desktopManager.plasma6.notoPackage = pkgs.fira-code;
|
||||
};
|
||||
}
|
||||
+18
-22
@@ -1,26 +1,22 @@
|
||||
{ config, pkgs, ... }:
|
||||
{ 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" ];
|
||||
};
|
||||
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 { });
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user