add acme option

This commit is contained in:
Kopatz
2024-05-04 13:03:38 +02:00
parent 445fc226e0
commit d47f75c353
4 changed files with 15 additions and 3 deletions

View File

@@ -1,6 +1,16 @@
{ 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";
acceptTerms = true;
defaults.email = "7265381+Kropatz@users.noreply.github.com";
};
};
}

View File

@@ -1,6 +1,7 @@
{ pkgs, config, ...}:
{
imports = [
./acme.nix
./kubernetes.nix
./kavita.nix
./nginx.nix