Only install fonts in graphical installs.
This commit is contained in:
parent
47408cfce0
commit
509cceb220
@ -8,20 +8,22 @@
|
|||||||
{
|
{
|
||||||
imports = [ ];
|
imports = [ ];
|
||||||
|
|
||||||
fonts = {
|
config = lib.mkIf config.me.graphical {
|
||||||
enableDefaultPackages = false;
|
fonts = {
|
||||||
packages = with pkgs; [
|
enableDefaultPackages = false;
|
||||||
cascadia-code
|
packages = with pkgs; [
|
||||||
source-sans-pro
|
cascadia-code
|
||||||
source-serif-pro
|
source-sans-pro
|
||||||
noto-fonts-cjk-sans
|
source-serif-pro
|
||||||
noto-fonts-cjk-serif
|
noto-fonts-cjk-sans
|
||||||
noto-fonts-color-emoji
|
noto-fonts-cjk-serif
|
||||||
];
|
noto-fonts-color-emoji
|
||||||
|
];
|
||||||
|
|
||||||
fontconfig = {
|
fontconfig = {
|
||||||
localConf = (builtins.readFile ./files/fonts.conf);
|
localConf = (builtins.readFile ./files/fonts.conf);
|
||||||
useEmbeddedBitmaps = true;
|
useEmbeddedBitmaps = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user