nix: add defaultText to services.lnbits.package (#803)

Without this, evaluating the module doesn't provide a default value visible on search.nixos.org
This commit is contained in:
MatthewCroughan 2022-08-03 08:52:04 +01:00 committed by GitHub
parent 716a30a0fc
commit 28af0a2100
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@
let
defaultUser = "lnbits";
cfg = config.services.lnbits;
inherit (lib) mkOption mkIf types optionalAttrs;
inherit (lib) mkOption mkIf types optionalAttrs literalExpression;
in
{
@ -25,6 +25,7 @@ in
};
package = mkOption {
type = types.package;
defaultText = literalExpression "pkgs.lnbits";
default = pkgs.lnbits;
description = ''
The lnbits package to use.