From 9c92fd1582b5b025c5c9ec86878618c662718288 Mon Sep 17 00:00:00 2001 From: "Yang, Bo" Date: Thu, 12 Sep 2024 01:09:17 -0700 Subject: [PATCH] Set proper type for `flake.nixosModules` --- modules/nixosModules.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/nixosModules.nix b/modules/nixosModules.nix index 6803b78..89cb301 100644 --- a/modules/nixosModules.nix +++ b/modules/nixosModules.nix @@ -13,7 +13,7 @@ in options = { flake = mkSubmoduleOptions { nixosModules = mkOption { - type = types.lazyAttrsOf types.unspecified; + type = types.lazyAttrsOf types.deferredModule; default = { }; apply = mapAttrs (k: v: { _file = "${toString moduleLocation}#nixosModules.${k}"; imports = [ v ]; }); description = ''