make fonts an option
This commit is contained in:
parent
e6fb13e4ce
commit
a6681472ab
1 changed files with 33 additions and 18 deletions
|
|
@ -4,23 +4,38 @@
|
||||||
config,
|
config,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
fonts.packages = with pkgs; [
|
|
||||||
noto-fonts
|
options = {
|
||||||
noto-fonts-cjk-sans
|
enableFonts = lib.mkOption {
|
||||||
noto-fonts-emoji
|
type = lib.types.bool;
|
||||||
liberation_ttf
|
default = true;
|
||||||
fira-code
|
description = "Enable my favorite fonts";
|
||||||
fira-code-symbols
|
};
|
||||||
mplus-outline-fonts.githubRelease
|
};
|
||||||
dina-font
|
|
||||||
nerd-fonts.fira-code
|
config = lib.mkMerge [
|
||||||
nerd-fonts.ubuntu
|
(lib.mkIf config.enableFonts {
|
||||||
proggyfonts
|
fonts.packages = with pkgs; [
|
||||||
source-sans
|
noto-fonts
|
||||||
source-sans-pro
|
noto-fonts-cjk-sans
|
||||||
source-serif-pro
|
noto-fonts-emoji
|
||||||
font-awesome
|
liberation_ttf
|
||||||
font-awesome_5
|
fira-code
|
||||||
roboto
|
fira-code-symbols
|
||||||
|
mplus-outline-fonts.githubRelease
|
||||||
|
dina-font
|
||||||
|
nerd-fonts.fira-code
|
||||||
|
nerd-fonts.ubuntu
|
||||||
|
proggyfonts
|
||||||
|
source-sans
|
||||||
|
source-sans-pro
|
||||||
|
source-serif-pro
|
||||||
|
font-awesome
|
||||||
|
font-awesome_5
|
||||||
|
roboto
|
||||||
|
];
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue