mirror of
https://github.com/nix-community/home-manager.git
synced 2025-03-06 16:57:03 +00:00
flake-module: set _class (#6461)
This should *help* prevent bad imports.
This commit is contained in:
parent
e5bc9c2af1
commit
b15e9ec676
1 changed files with 1 additions and 0 deletions
|
@ -18,6 +18,7 @@ in {
|
|||
type = types.lazyAttrsOf types.unspecified;
|
||||
default = { };
|
||||
apply = mapAttrs (k: v: {
|
||||
_class = "homeManager";
|
||||
_file = "${toString moduleLocation}#homeManagerModules.${k}";
|
||||
imports = [ v ];
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue