fix: always require ACME email
This commit is contained in:
parent
dedd95c442
commit
c0a33e111a
2 changed files with 8 additions and 11 deletions
|
|
@ -1,4 +1,4 @@
|
|||
args@{ config, lib, ... }:
|
||||
{ config, lib, ... }:
|
||||
{
|
||||
imports = [ ../options.nix ];
|
||||
|
||||
|
|
@ -49,11 +49,4 @@ args@{ config, lib, ... }:
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
config.assertions = lib.mkIf config.aether.https [
|
||||
{
|
||||
assertion = !(builtins.isNull config.aether.acmeEmail);
|
||||
message = "HTTPS support requires providing a contact email";
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue