Revert "nixos/nginx: disable configuration validation for now"

This reverts commit 7ef58bce9d.
This commit is contained in:
Guillaume Girol 2023-01-04 20:15:25 +01:00
parent d7705c01ef
commit ecb06398e7

View file

@ -581,9 +581,7 @@ in
}; };
validateConfig = mkOption { validateConfig = mkOption {
# FIXME: re-enable if we can make of the configurations work. default = pkgs.stdenv.hostPlatform == pkgs.stdenv.buildPlatform;
#default = pkgs.stdenv.hostPlatform == pkgs.stdenv.buildPlatform;
default = false;
defaultText = literalExpression "pkgs.stdenv.hostPlatform == pkgs.stdenv.buildPlatform"; defaultText = literalExpression "pkgs.stdenv.hostPlatform == pkgs.stdenv.buildPlatform";
type = types.bool; type = types.bool;
description = lib.mdDoc '' description = lib.mdDoc ''