11 lines
228 B
Nix
11 lines
228 B
Nix
{ lib, config, ... }:
|
|
with lib;
|
|
mkIf (config.services.nginx.enable) {
|
|
security.acme = {
|
|
acceptTerms = true;
|
|
defaults = {
|
|
email = "admin@ruject.fun";
|
|
webroot = "/var/lib/acme/acme-challenge/";
|
|
};
|
|
};
|
|
}
|