mirror of
https://github.com/lnbits/lnbits.git
synced 2025-06-11 01:11:18 +02:00
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
@ -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…
x
Reference in New Issue
Block a user