diff options
| author | Lucas Savva <lucas@m1cr0man.com> | 2024-11-10 19:32:40 +0000 |
|---|---|---|
| committer | Lucas Savva <lucas@m1cr0man.com> | 2025-02-22 21:14:56 +0000 |
| commit | 84af416af6265f9f5a8ac8ebded834b493b61fc2 (patch) | |
| tree | e2785ad9daa3f1d961187e4832a8a986e5a25b3f /pkgs/development/python-modules/rangehttpserver | |
| parent | 73cf49b8ad837ade2de76f87eb53fc85ed5d4680 (diff) | |
nixos/acme: Refactor setup process
Over time, we added a lot of setup services to the ACME module, namely:
- acme-selfsigned-ca.service: Creates the selfsigned CA certificates
used to generate selfsigned certs for each configured cert.
- acme-fixperms.service: Ensures permissions correctness on certs after
system configuration changes.
- acme-lockfiles.service: Create lockfiles used to implement
maxConcurrentRenewals.
These numerous setup services complicated the dependency chain for any
cert renewal, and also made it difficult to track responsibility for
specific setup steps, for example, creating /var/lib/acme or setting
permissions of shared folders.
This change proposes a new acme-setup.service which encapsulates the
functionality of the previous 3 services into one. The service is still
defined in 3 separate chunks (using lib.mkMerge) which allows us to
keep a logical separation between each step and preserve some
optionality in the features.
The result is a generally simplified definition of systemd unit
dependencies and an obvious entrypoint for future setup extensions.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions
