treewide: use mkPackageOption (#6727)
This commit is contained in:
parent
1f679ed2a2
commit
f1d4acaa10
29 changed files with 39 additions and 195 deletions
|
|
@ -13,15 +13,7 @@ in {
|
|||
options.programs.eww = {
|
||||
enable = mkEnableOption "eww";
|
||||
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.eww;
|
||||
defaultText = literalExpression "pkgs.eww";
|
||||
example = literalExpression "pkgs.eww";
|
||||
description = ''
|
||||
The eww package to install.
|
||||
'';
|
||||
};
|
||||
package = lib.mkPackageOption pkgs "eww" { };
|
||||
|
||||
configDir = mkOption {
|
||||
type = types.nullOr types.path;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue