diff --git a/clanModules/single-disk/default.nix b/clanModules/single-disk/default.nix index eb90daf05..64edc68d6 100644 --- a/clanModules/single-disk/default.nix +++ b/clanModules/single-disk/default.nix @@ -5,11 +5,13 @@ default = null; type = lib.types.nullOr lib.types.str; description = "The primary disk device to install the system on"; - # Question: should we set a default here? - # default = "/dev/null"; }; }; config = { + warnings = [ + "clanModules.single-disk is deprecated. Please copy the disko config from the module into your machine config." + ]; + boot.loader.grub.efiSupport = lib.mkDefault true; boot.loader.grub.efiInstallAsRemovable = lib.mkDefault true; disko.devices = { diff --git a/docs/site/getting-started/disk-encryption.md b/docs/site/getting-started/disk-encryption.md index b771a43c5..1595ab49c 100644 --- a/docs/site/getting-started/disk-encryption.md +++ b/docs/site/getting-started/disk-encryption.md @@ -14,7 +14,7 @@ lsblk --output NAME,ID-LINK,FSTYPE,SIZE,MOUNTPOINT === "**Single Disk**" Below is the configuration for `disko.nix` - ```nix hl_lines="16 47" + ```nix hl_lines="17 48" { lib, clan-core, ... }: let suffix = config.clan.core.vars.generators.disk-id.files.diskId.value; @@ -115,7 +115,7 @@ lsblk --output NAME,ID-LINK,FSTYPE,SIZE,MOUNTPOINT === "**Raid 1**" Below is the configuration for `disko.nix` - ```nix hl_lines="16 47 48" + ```nix hl_lines="17 48 49" { lib, clan-core, ... }: let suffix = config.clan.core.vars.generators.disk-id.files.diskId.value;