flake-module: set _class (#6461)

This should *help* prevent bad imports.
This commit is contained in:
isabel
2025-02-16 19:57:15 +00:00
committed by GitHub
parent e5bc9c2af1
commit b15e9ec676

View File

@@ -18,6 +18,7 @@ in {
type = types.lazyAttrsOf types.unspecified;
default = { };
apply = mapAttrs (k: v: {
_class = "homeManager";
_file = "${toString moduleLocation}#homeManagerModules.${k}";
imports = [ v ];
});