From 4689cebf8d6eccb1c84fb93f3d2755ea0b421c48 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Fri, 4 Aug 2023 20:07:06 +0100 Subject: [PATCH] fix illegal module options --- modules/base.nix | 2 +- modules/initramfs.nix | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/base.nix b/modules/base.nix index bd1798d..0c675b5 100644 --- a/modules/base.nix +++ b/modules/base.nix @@ -27,7 +27,7 @@ in { kernel = { src = mkOption { type = types.package; } ; modular = mkOption { - type = types.boolean; + type = types.bool; default = true; description = "support loadable kernel modules"; }; diff --git a/modules/initramfs.nix b/modules/initramfs.nix index 5f8b117..85ac3ed 100644 --- a/modules/initramfs.nix +++ b/modules/initramfs.nix @@ -12,7 +12,6 @@ in options = { boot.initramfs = { enable = mkEnableOption "enable initramfs"; - default = false; }; system.outputs.initramfs = mkOption { type = types.package;