Skip to content

Commit

Permalink
updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rasmus-kirk committed Feb 28, 2024
1 parent 84303df commit 4dc515d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions nixarr/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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.
'';
Expand Down Expand Up @@ -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.
Expand Down
8 changes: 4 additions & 4 deletions nixarr/jellyfin/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 4dc515d

Please sign in to comment.