nixos/fonts.enableGhostscriptFonts: remove with lib;

This commit is contained in:
Felix Buehler 2024-08-27 20:42:47 +02:00
parent 58baef7c2c
commit 7fece7e8ca

View File

@ -1,11 +1,8 @@
{ config, lib, pkgs, ... }:
with lib;
{
options = {
fonts.enableGhostscriptFonts = mkOption {
type = types.bool;
fonts.enableGhostscriptFonts = lib.mkOption {
type = lib.types.bool;
default = false;
description = ''
Whether to add the fonts provided by Ghostscript (such as
@ -17,7 +14,7 @@ with lib;
};
config = mkIf config.fonts.enableGhostscriptFonts {
config = lib.mkIf config.fonts.enableGhostscriptFonts {
fonts.packages = [ pkgs.ghostscript.fonts ];
};
}