0c25983c0b
the default kconfig should be in a config stanza, not in the default attr of the options stanza, otherwise it gets overridden completely instead of merged
15 lines
290 B
Nix
15 lines
290 B
Nix
{ 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;
|
|
};
|
|
};
|
|
}
|