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" ]; } ) ]