From 2cd917d56dd77ccccf6caec8b3bfb825368b6f7f Mon Sep 17 00:00:00 2001 From: clerie Date: Wed, 28 Sep 2022 22:07:41 +0200 Subject: [PATCH] modules/akne: Fix default value and tweak finished target --- modules/akne/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/akne/default.nix b/modules/akne/default.nix index 4b6b99a..efb0559 100644 --- a/modules/akne/default.nix +++ b/modules/akne/default.nix @@ -11,7 +11,7 @@ in { enable = mkEnableOption "Makes fun stuff with the nixos acme module."; selfSignedOnlyHostNames = mkOption { type = with types; listOf str; - default = {}; + default = []; description = "List of hostnames for which the acme client gets disabled. This hostnames use the self-signed certs instead."; }; }; @@ -43,8 +43,8 @@ in { name: [ ( nameValuePair "acme-finished-${name}" { - after = mkForce []; - requires = mkForce []; + after = mkForce [ "acme-selfsigned-${name}.service" ]; + requires = mkForce [ "acme-selfsigned-${name}.service" ]; } ) ]