12 lines
277 B
Nix
12 lines
277 B
Nix
{ lib, pkgs, ... }:
|
|
{
|
|
options.mySystem.desktop.fonts.enable = lib.mkEnableOption "Enable system fonts";
|
|
|
|
config = lib.mkIf (lib.getOption "mySystem.desktop.fonts.enable") {
|
|
fonts.packages = with pkgs; [
|
|
nerd-fonts.iosevka
|
|
nerd-fonts.fira-code
|
|
];
|
|
};
|
|
}
|