nixos/public-inbox: require that URL be non-empty
public-inbox-init doesn't work if passed an empty URL.
This commit is contained in:
parent
c408801994
commit
18f2be2e56
@ -177,8 +177,7 @@ in
|
||||
description = lib.mdDoc "The email addresses of the public-inbox.";
|
||||
};
|
||||
options.url = mkOption {
|
||||
type = with types; nullOr str;
|
||||
default = null;
|
||||
type = types.nonEmptyStr;
|
||||
example = "https://example.org/lists/example-discuss";
|
||||
description = lib.mdDoc "URL where this inbox can be accessed over HTTP.";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user