mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:50:44 +08:00
treewide: use mkPackageOption (#6727)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user