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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
29 changed files with 39 additions and 195 deletions

View file

@ -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;