liminix/modules/base.nix
2022-09-25 11:52:02 +01:00

17 lines
370 B
Nix

{ 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; };
};
};
}