mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
treewide: use mkPackageOption (#6727)
This commit is contained in:
parent
1f679ed2a2
commit
f1d4acaa10
29 changed files with 39 additions and 195 deletions
|
|
@ -89,14 +89,7 @@ in {
|
|||
options.programs.kitty = {
|
||||
enable = mkEnableOption "Kitty terminal emulator";
|
||||
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.kitty;
|
||||
defaultText = literalExpression "pkgs.kitty";
|
||||
description = ''
|
||||
Kitty package to install.
|
||||
'';
|
||||
};
|
||||
package = lib.mkPackageOption pkgs "kitty" { };
|
||||
|
||||
darwinLaunchOptions = mkOption {
|
||||
type = types.nullOr (types.listOf types.str);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue