lib/modules: Check against importing things with a _type

This commit is contained in:
Robert Hensing
2023-02-07 20:41:29 +01:00
parent b8ff2807a2
commit 58f385f680
4 changed files with 20 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
{ lib, ... }:
# I think this might occur more realistically in a submodule
{
imports = [ (lib.mkIf true { enable = true; }) ];
}