Files
nix-config/modules/services/acme.nix
2024-05-04 13:03:38 +02:00

17 lines
338 B
Nix

{ config, pkgs, lib, inputs, ... }:
with lib;
let
cfg = config.custom.services.acme;
in
{
options.custom.services.acme = {
enable = mkEnableOption "Enables acme";
};
config = lib.mkIf cfg.enable {
security.acme = {
acceptTerms = true;
defaults.email = "7265381+Kropatz@users.noreply.github.com";
};
};
}