14 lines
279 B
Nix
14 lines
279 B
Nix
{ lib, pkgs, ... }:
|
|
|
|
{
|
|
# Optional toggle for enabling fonts
|
|
options.enableFonts = lib.mkEnableOption "Enable nerd-fonts";
|
|
|
|
config = lib.mkIf (config.enableFonts or false) {
|
|
fonts.packages = with pkgs; [
|
|
nerd-fonts.iosevka
|
|
nerd-fonts.fira-code
|
|
];
|
|
};
|
|
}
|