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:
- 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.
+4 -4
View File
@@ -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