aboutsummaryrefslogtreecommitdiffstats
path: root/modules/by-name/fo
diff options
context:
space:
mode:
Diffstat (limited to 'modules/by-name/fo')
-rw-r--r--modules/by-name/fo/fonts/module.nix14
1 files changed, 9 insertions, 5 deletions
diff --git a/modules/by-name/fo/fonts/module.nix b/modules/by-name/fo/fonts/module.nix
index f8752ae6..c76557cc 100644
--- a/modules/by-name/fo/fonts/module.nix
+++ b/modules/by-name/fo/fonts/module.nix
@@ -20,10 +20,14 @@ in {
fonts = lib.mkOption {
type = lib.types.listOf lib.types.package;
- example = lib.literalExpression ''with pkgs.nerdfonts; [SourceCodePro Overpass FiraCode]'';
- default = with pkgs.nerd-fonts; [
- sauce-code-pro
- overpass
+ example = lib.literalExpression '' [
+ pkgs.nerd-fonts.source-code-pro
+ pkgs.nerd-fonts.overpass
+ pkgs.nerd-fonts.fira-code
+ ]'';
+ default = [
+ pkgs.nerd-fonts.sauce-code-pro
+ pkgs.nerd-fonts.overpass
];
description = "The nerd-fonts to install";
};
@@ -35,7 +39,7 @@ in {
fonts = {
packages =
cfg.fonts
- ++ (with pkgs; [liberation_ttf])
+ ++ [pkgs.liberation_ttf]
++ lib.optional cfg.enableEmoji pkgs.noto-fonts-emoji;
fontconfig = {