blob: ee615910f084a1a9dd7e35e4052f0106ea6794ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{
config,
lib,
pkgs,
...
}:
let
cfg = config.os.core.fonts;
in
{
options.os.core.fonts.enable = lib.mkEnableOption "system-wide font and console configuration";
config = lib.mkIf cfg.enable {
console = {
keyMap = "pl";
earlySetup = true;
font = "ter-v32n";
packages = with pkgs; [ terminus_font ];
};
fonts.packages = with pkgs; [
terminus_font
nerd-fonts.jetbrains-mono
nerd-fonts.fira-mono
nerd-fonts.fira-code
noto-fonts
noto-fonts-cjk-sans
noto-fonts-cjk-serif
noto-fonts-color-emoji
];
};
}
|