mirror of
https://github.com/nix-community/home-manager
synced 2024-11-26 14:40:29 +00:00
vdirsyncer: fix verify option type (#5096)
* vdirsyncer: change verify to type path accounts.<calendar/contacts>.accounts.<name>.vdirsyncer.verify should not be a bool, it should be a path. * vdirsyncer: Add example of verify use
This commit is contained in:
parent
f240015a3a
commit
ad9254cd9a
2 changed files with 4 additions and 3 deletions
|
@ -93,9 +93,10 @@ in {
|
|||
};
|
||||
|
||||
verify = mkOption {
|
||||
type = types.nullOr types.bool;
|
||||
type = types.nullOr types.path;
|
||||
default = null;
|
||||
description = "Verify SSL certificate.";
|
||||
description = "Null or path to certificate to verify SSL against";
|
||||
example = "/path/to/cert.pem";
|
||||
};
|
||||
|
||||
verifyFingerprint = mkOption {
|
||||
|
|
|
@ -92,7 +92,7 @@ let
|
|||
else if (n == "passwordPrompt") then
|
||||
''password.fetch = ["prompt", "${v}"]''
|
||||
else if (n == "verify") then
|
||||
"verify = ${if v then "true" else "false"}"
|
||||
''verify = "${v}"''
|
||||
else if (n == "verifyFingerprint") then
|
||||
''verify_fingerprint = "${v}"''
|
||||
else if (n == "auth") then
|
||||
|
|
Loading…
Reference in a new issue