nixos/fonts.enableGhostscriptFonts: remove with lib;
This commit is contained in:
parent
58baef7c2c
commit
7fece7e8ca
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user