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:
parent
716a30a0fc
commit
28af0a2100
1 changed files with 2 additions and 1 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
let
|
let
|
||||||
defaultUser = "lnbits";
|
defaultUser = "lnbits";
|
||||||
cfg = config.services.lnbits;
|
cfg = config.services.lnbits;
|
||||||
inherit (lib) mkOption mkIf types optionalAttrs;
|
inherit (lib) mkOption mkIf types optionalAttrs literalExpression;
|
||||||
in
|
in
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
@ -25,6 +25,7 @@ in
|
||||||
};
|
};
|
||||||
package = mkOption {
|
package = mkOption {
|
||||||
type = types.package;
|
type = types.package;
|
||||||
|
defaultText = literalExpression "pkgs.lnbits";
|
||||||
default = pkgs.lnbits;
|
default = pkgs.lnbits;
|
||||||
description = ''
|
description = ''
|
||||||
The lnbits package to use.
|
The lnbits package to use.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue