lib/modules: Add class concept to check imports

This improves the error message when an incompatible module is
imported.
This commit is contained in:
Robert Hensing
2022-10-24 14:30:19 +02:00
parent 3633bf98be
commit b8ff2807a2
5 changed files with 69 additions and 4 deletions

View File

@@ -0,0 +1,4 @@
{
class = "nixos";
config = {};
}