updated docs

This commit is contained in:
rasmus-kirk
2024-02-27 18:10:53 +01:00
parent 84303df9a4
commit 4dc515d395
2 changed files with 12 additions and 12 deletions
+8 -8
View File
@@ -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.
+4 -4
View File
@@ -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