1
0

modules/akne: Fix default value and tweak finished target

This commit is contained in:
clerie 2022-09-28 22:07:41 +02:00
parent 05d7d04052
commit 2cd917d56d

View File

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