From 58ab3a3249555ce115b5c9d7eb25cd378719a89a Mon Sep 17 00:00:00 2001 From: Fritz Otlinghaus Date: Sun, 31 Jan 2021 14:59:54 +0100 Subject: [PATCH] nixos/bind: update zone file type --- nixos/modules/services/networking/bind.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/bind.nix b/nixos/modules/services/networking/bind.nix index e1b997b6a86..e507e8ce9ee 100644 --- a/nixos/modules/services/networking/bind.nix +++ b/nixos/modules/services/networking/bind.nix @@ -18,7 +18,7 @@ let type = types.bool; }; file = mkOption { - type = types.str; + type = types.either types.str types.path; description = "Zone file resource records contain columns of data, separated by whitespace, that define the record."; }; masters = mkOption {