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 {