nixpkgs/nixos/modules
Lucas Savva 84af416af6 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.
2025-02-22 21:14:56 +00:00
..
config nixos/users-groups: split isSystemUser/isNormalUser and uid check into two (#357944) 2025-02-16 20:35:45 +01:00
hardware nixos/nfc-nci: init 2025-02-10 15:59:53 +01:00
i18n/input-method nixos/fcitx5: fix quickphrase 2024-12-28 15:10:34 +08:00
image nixos/image/images: fix sd-card image on aarch64 (#372783) 2025-02-17 15:04:27 +01:00
installer nixos/installer: replace substituteAll with replaceVarsWith for tools 2025-01-28 22:30:27 +01:00
misc nixos/version: validate system.stateVersion 2025-02-06 07:04:02 -05:00
profiles nixos/profiles/hardened: replace 'with' using inherit and add disable option 2025-02-03 21:34:05 +01:00
programs xonsh.xontribs.xontrib-*: init at various (#354733) 2025-02-14 07:18:35 +11:00
security nixos/acme: Refactor setup process 2025-02-22 21:14:56 +00:00
services nixos/fail2ban: Update openssh option in docs (#371398) 2025-02-17 23:35:57 +01:00
system grub modernize (#374844) 2025-02-18 13:03:24 +07:00
tasks nixos/fileSystems: link to mount(8) from fileSystems.*.options (#377170) 2025-02-05 11:08:15 +01:00
testing nixos/test-instrumentation: fix shellcheck findings with enableStrictShellChecks enabled (#349579) 2025-01-13 10:28:43 +01:00
virtualisation nixos-container: add support for --private-users (#362210) 2025-02-18 00:09:56 +01:00
module-list.nix alertmanager-gotify-bridge: init at 2.3.2 (#378055) 2025-02-17 23:23:20 +01:00
rename.nix nixos/rippleDataApi: drop 2025-01-17 19:44:23 +01:00