From 761d74a1093f3c3b08df73e2560b66515630e5fc Mon Sep 17 00:00:00 2001 From: Kiara Grouwstra Date: Sat, 5 Jul 2025 19:17:43 +0200 Subject: [PATCH] use defaultOverridePriority over mkDefault to fix acme error without cashing with settings from tests --- services/fediversity/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/services/fediversity/default.nix b/services/fediversity/default.nix index 0cd4b350..cce2a323 100644 --- a/services/fediversity/default.nix +++ b/services/fediversity/default.nix @@ -69,7 +69,9 @@ in config = { ## FIXME: This should clearly go somewhere else; and we should have a ## `staging` vs. `production` setting somewhere. - security.acme = lib.mkDefault { + # use a priority higher than mkDefault for panel deployment to work, + # yet lower than default so this will not clash with the setting in tests. + security.acme = lib.modules.defaultOverridePriority { acceptTerms = true; # use a priority more urgent than mkDefault for panel deployment to work, # yet looser than default so this will not clash with the setting in tests.