updated docs
This commit is contained in:
+8
-8
@@ -40,13 +40,13 @@ in {
|
||||
|
||||
The following services are supported:
|
||||
|
||||
- Jellyfin
|
||||
- Lidarr
|
||||
- Prowlarr
|
||||
- Radarr
|
||||
- Readarr
|
||||
- Sonarr
|
||||
- Transmission
|
||||
- [Jellyfin](#nixarr.jellyfin.enable)
|
||||
- [Lidarr](#nixarr.lidarr.enable)
|
||||
- [Prowlarr](#nixarr.prowlarr.enable)
|
||||
- [Radarr](#nixarr.radarr.enable)
|
||||
- [Readarr](#nixarr.readarr.enable)
|
||||
- [Sonarr](#nixarr.sonarr.enable)
|
||||
- [Transmission](#nixarr.transmission.enable)
|
||||
|
||||
Remember to read the options.
|
||||
'';
|
||||
@@ -139,7 +139,7 @@ in {
|
||||
config = mkIf cfg.enable {
|
||||
assertions = [
|
||||
{
|
||||
assertion = cfg.vpn.enable && !cfg.vpn.wgConf;
|
||||
assertion = cfg.vpn.enable && (cfg.vpn.wgConf == null);
|
||||
message = ''
|
||||
The nixarr.vpn.enable option requires the nixarr.vpn.wgConf option
|
||||
to be set, but it was not.
|
||||
|
||||
@@ -125,8 +125,8 @@ in with lib; {
|
||||
}
|
||||
{
|
||||
assertion = cfg.expose.https.enable -> (
|
||||
cfg.expose.https.domainName != null &&
|
||||
cfg.expose.https.acmeMail != null
|
||||
(cfg.expose.https.domainName != null) &&
|
||||
(cfg.expose.https.acmeMail != null)
|
||||
);
|
||||
message = ''
|
||||
The nixarr.jellyfin.expose.https.enable option requires the
|
||||
@@ -139,8 +139,8 @@ in with lib; {
|
||||
{
|
||||
assertion = cfg.expose.vpn.enable -> (
|
||||
!cfg.vpn.enable &&
|
||||
cfg.expose.vpn.port != null &&
|
||||
cfg.expose.vpn.accessibleFrom != null
|
||||
(cfg.expose.vpn.port != null) &&
|
||||
(cfg.expose.vpn.accessibleFrom != null)
|
||||
);
|
||||
message = ''
|
||||
The nixarr.jellyfin.expose.vpn.enable option requires the
|
||||
|
||||
Reference in New Issue
Block a user