From f8050d6f8487f51c3b83213e8bbb38d3b311530a Mon Sep 17 00:00:00 2001 From: phaer Date: Sun, 15 Jan 2023 16:36:59 +0100 Subject: [PATCH] fix examples... ...why did those tests pass before? config didn't match options schema --- example/config.nix | 7 +++---- example/stand-alone/configuration.nix | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/example/config.nix b/example/config.nix index 58edb1e..cb013cd 100644 --- a/example/config.nix +++ b/example/config.nix @@ -5,7 +5,7 @@ type = "lvm_vg"; lvs = { root = { - type = "lv"; + type = "lvm_lv"; size = "10G"; content = { type = "filesystem"; @@ -14,7 +14,7 @@ }; }; home = { - type = "lv"; + type = "lvm_lv"; size = "10G"; content = { type = "filesystem"; @@ -33,9 +33,8 @@ format = "gpt"; partitions = [ { - name = "boot"; + name = "ESP"; type = "partition"; - part-type = "ESP"; start = "1MiB"; end = "1024MiB"; fs-type = "fat32"; diff --git a/example/stand-alone/configuration.nix b/example/stand-alone/configuration.nix index 67576a0..c53bdf9 100644 --- a/example/stand-alone/configuration.nix +++ b/example/stand-alone/configuration.nix @@ -18,7 +18,7 @@ disk = { sda = { device = "/dev/sda"; - type = "device"; + type = "disk"; content = { type = "table"; format = "msdos";