From 58593778025a90d6871087ae317c6695e8e350aa Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Sun, 12 Mar 2023 17:07:54 -0400 Subject: [PATCH] fix: arr options when not used --- modules/nixos/services/arr.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/modules/nixos/services/arr.nix b/modules/nixos/services/arr.nix index 393ec27..2d27378 100644 --- a/modules/nixos/services/arr.nix +++ b/modules/nixos/services/arr.nix @@ -1,10 +1,8 @@ -{ config, lib, ... }: - -{ +{ config, lib, ... }: { options = { arrServer = lib.mkOption { - type = lib.types.str; + type = lib.types.nullOr lib.types.str; description = "Hostname for arr services"; default = null; };