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