at 24.11-pre 427 B view raw
1{ config, lib, ... }: 2let 3 inherit (lib) mkOption types; 4in 5{ 6 options.bare-submodule = mkOption { 7 type = types.submoduleWith { 8 modules = [ ]; 9 shorthandOnlyDefinesConfig = config.shorthandOnlyDefinesConfig; 10 }; 11 default = {}; 12 }; 13 14 # config-dependent options: won't recommend, but useful for making this test parameterized 15 options.shorthandOnlyDefinesConfig = mkOption { 16 default = false; 17 }; 18}