Remove more persistence references and move to a simpler, global system

This commit is contained in:
Jimbo 2025-02-28 14:17:13 -05:00
parent 8d1a992bb2
commit 9a8e7d8a9e
6 changed files with 23 additions and 49 deletions

View file

@ -1,10 +1,7 @@
{ config, lib, ... }:
{
config = lib.mkIf config.services.nginx.enable {
security.acme = {
acceptTerms = true;
defaults.email = "contact@nixfox.ca";
};
environment.persistence."/persist".directories = [ "/var/lib/acme" ];
security.acme = lib.mkIf config.services.nginx.enable {
acceptTerms = true;
defaults.email = "contact@example.com";
};
}