summary refs log tree commit diff
path: root/nixos/modules/misc/check-config.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/misc/check-config.nix')
-rw-r--r--nixos/modules/misc/check-config.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/nixos/modules/misc/check-config.nix b/nixos/modules/misc/check-config.nix
new file mode 100644
index 00000000000..28f36ad9ae5
--- /dev/null
+++ b/nixos/modules/misc/check-config.nix
@@ -0,0 +1,13 @@
+{pkgs, ...}:
+
+{
+  options = {
+    environment.checkConfigurationOptions = pkgs.lib.mkOption {
+      default = true;
+      example = false;
+      description = ''
+        Whether to check the validity of the entire configuration.
+      '';
+    };
+  };
+}