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
|
kdePackages.plasma-browser-integration
|
||||||
konsave # save configs
|
konsave # save configs
|
||||||
];
|
];
|
||||||
|
services.desktopManager.plasma6.notoPackage = pkgs.fira-code;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
+18
-22
@@ -1,26 +1,22 @@
|
|||||||
{ config, pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
config = {
|
fonts = {
|
||||||
fonts = {
|
packages = with pkgs; [
|
||||||
packages = with pkgs; [
|
fira-code
|
||||||
fira-code
|
fira-code-symbols
|
||||||
fira-code-symbols
|
font-awesome
|
||||||
font-awesome
|
mplus-outline-fonts.githubRelease
|
||||||
mplus-outline-fonts.githubRelease
|
noto-fonts-emoji
|
||||||
noto-fonts-emoji
|
];
|
||||||
];
|
enableDefaultPackages = true;
|
||||||
enableDefaultPackages = true;
|
fontDir.enable = true;
|
||||||
fontDir.enable = true;
|
fontconfig = {
|
||||||
fontconfig = {
|
enable = true;
|
||||||
enable = true;
|
defaultFonts = {
|
||||||
defaultFonts = {
|
serif = [ "Fira Code" "DroidSansMono" ];
|
||||||
serif = [ "Fira Code" "DroidSansMono" ];
|
sansSerif = [ "Fira Code" "DroidSansMono" ];
|
||||||
sansSerif = [ "Fira Code" "DroidSansMono" ];
|
monospace = [ "Fira Code" ];
|
||||||
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