merge-modules accepts >1 module

This commit is contained in:
Daniel Barlow committed 2022-09-25 11:52:02 +01:00
1 parent 887a4ff966
commit c6e56b1637
5 files changed
+32 -20

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
{ device } :
{ lib, ...}:
let inherit (lib) mkEnableOption mkOption types;
in {
options = {
systemPackages = mkOption {
type = types.listOf types.package;
};
services = mkOption {
type = types.anything;
};
kernel = mkOption {
type = types.anything;
default = { inherit (device.kernel) config checkedConfig; };
};
};
}