From 4994a54bb772f0ca8671c34c74526b5cef195ff1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Janne=20He=C3=9F?= Date: Fri, 15 Oct 2021 10:52:15 +0200 Subject: [PATCH] nixos/specialisation: Add type for configuration See #76184 --- nixos/modules/system/activation/top-level.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/system/activation/top-level.nix b/nixos/modules/system/activation/top-level.nix index 026fd1791d33f..e68c267320d8f 100644 --- a/nixos/modules/system/activation/top-level.nix +++ b/nixos/modules/system/activation/top-level.nix @@ -177,6 +177,7 @@ in }; options.configuration = mkOption { + type = with types; oneOf [ attrs (functionTo attrs) path ]; default = {}; description = "Arbitrary NixOS configuration options."; };