treewide: use mkPackageOption (#6727)

This commit is contained in:
Austin Horstman
2025-03-29 11:48:55 -05:00
committed by GitHub
parent 1f679ed2a2
commit f1d4acaa10
29 changed files with 39 additions and 195 deletions

View File

@@ -13,13 +13,7 @@ in {
programs.tmate = {
enable = mkEnableOption "tmate";
package = mkOption {
type = types.package;
default = pkgs.tmate;
defaultText = literalExpression "pkgs.tmate";
example = literalExpression "pkgs.tmate";
description = "The tmate package to install.";
};
package = lib.mkPackageOption pkgs "tmate" { };
host = mkOption {
type = with types; nullOr str;