mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-15 07:47:56 +00:00
nixos/iay: use mkPackageOptionMD
This commit is contained in:
parent
fb1cb44b68
commit
8822e9620c
@ -2,11 +2,11 @@
|
||||
|
||||
let
|
||||
cfg = config.programs.iay;
|
||||
inherit (lib) mkEnableOption mkIf mkOption mkPackageOption optionalString types;
|
||||
inherit (lib) mkEnableOption mkIf mkOption mkPackageOptionMD optionalString types;
|
||||
in {
|
||||
options.programs.iay = {
|
||||
enable = mkEnableOption (lib.mdDoc "iay");
|
||||
package = mkPackageOption pkgs "iay" {};
|
||||
package = mkPackageOptionMD pkgs "iay" {};
|
||||
|
||||
minimalPrompt = mkOption {
|
||||
type = types.bool;
|
||||
|
Loading…
Reference in New Issue
Block a user