diff --git a/modules/nixosModules.nix b/modules/nixosModules.nix index 89cb301..892d32d 100644 --- a/modules/nixosModules.nix +++ b/modules/nixosModules.nix @@ -15,7 +15,11 @@ in nixosModules = mkOption { type = types.lazyAttrsOf types.deferredModule; default = { }; - apply = mapAttrs (k: v: { _file = "${toString moduleLocation}#nixosModules.${k}"; imports = [ v ]; }); + apply = mapAttrs (k: v: { + _class = "nixos"; + _file = "${toString moduleLocation}#nixosModules.${k}"; + imports = [ v ]; + }); description = '' NixOS modules.