From 19457597b1f7af54dbe1e81a1ff67b2cca9407bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Fri, 19 May 2023 02:28:03 +0200 Subject: [PATCH] disko: try to fix eval --- modules/disko.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/disko.nix b/modules/disko.nix index 0a55e7cf..b9302e71 100644 --- a/modules/disko.nix +++ b/modules/disko.nix @@ -6,7 +6,7 @@ in { options.disko.disks = lib.mkOption { description = lib.mdDoc "Disk names to format."; - type = with lib.types; listOf (submodule (_: { + type = with lib.types; nullOr (listOf (submodule (_: { options = { device = lib.mkOption { type = lib.types.str; @@ -46,8 +46,8 @@ in description = "Wether to include a zfs parition."; }; }; - })); - default = { }; + }))); + default = null; }; config = {