mirror of
https://github.com/9001/copyparty.git
synced 2026-02-21 01:40:39 +10:00
nixos: use mkPackageOption instead of mkOption (#1193)
This gets rid of a warning when trying to build a system with documentation.nixos.includeAllModules enabled
This commit is contained in:
@@ -69,11 +69,8 @@ in
|
|||||||
options.services.copyparty = {
|
options.services.copyparty = {
|
||||||
enable = mkEnableOption "web-based file manager";
|
enable = mkEnableOption "web-based file manager";
|
||||||
|
|
||||||
package = mkOption {
|
package = mkPackageOption pkgs "copyparty" {
|
||||||
type = types.package;
|
extraDescription = ''
|
||||||
default = pkgs.copyparty;
|
|
||||||
defaultText = "pkgs.copyparty";
|
|
||||||
description = ''
|
|
||||||
Package of the application to run, exposed for overriding purposes.
|
Package of the application to run, exposed for overriding purposes.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user