modules/akne: Fix default value and tweak finished target
This commit is contained in:
parent
05d7d04052
commit
2cd917d56d
@ -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" ];
|
||||
}
|
||||
)
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user