fix illegal module options

This commit is contained in:
Daniel Barlow 2023-08-04 20:07:06 +01:00
parent 7fad66ff27
commit 4689cebf8d
2 changed files with 1 additions and 2 deletions

View file

@ -27,7 +27,7 @@ in {
kernel = { kernel = {
src = mkOption { type = types.package; } ; src = mkOption { type = types.package; } ;
modular = mkOption { modular = mkOption {
type = types.boolean; type = types.bool;
default = true; default = true;
description = "support loadable kernel modules"; description = "support loadable kernel modules";
}; };

View file

@ -12,7 +12,6 @@ in
options = { options = {
boot.initramfs = { boot.initramfs = {
enable = mkEnableOption "enable initramfs"; enable = mkEnableOption "enable initramfs";
default = false;
}; };
system.outputs.initramfs = mkOption { system.outputs.initramfs = mkOption {
type = types.package; type = types.package;