From bec6e3cde912b8acb915fecdc509eda7c973fb42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Fri, 19 Jul 2024 21:17:48 +0200 Subject: [PATCH] examples: rename vdb -> main --- example/bcachefs.nix | 2 +- example/btrfs-only-root-subvolume.nix | 2 +- example/btrfs-subvolumes.nix | 2 +- example/gpt-bios-compat.nix | 2 +- example/legacy-table.nix | 2 +- example/long-device-name.nix | 2 +- example/luks-btrfs-subvolumes.nix | 2 +- example/luks-interactive-login.nix | 2 +- example/luks-lvm.nix | 2 +- example/lvm-thin.nix | 2 +- example/mdadm-raid0.nix | 4 ++-- example/mdadm.nix | 4 ++-- example/simple-efi.nix | 2 +- example/swap.nix | 2 +- example/tmpfs.nix | 2 +- example/zfs-over-legacy.nix | 4 ++-- 16 files changed, 19 insertions(+), 19 deletions(-) diff --git a/example/bcachefs.nix b/example/bcachefs.nix index 417f11b..8ec19e6 100644 --- a/example/bcachefs.nix +++ b/example/bcachefs.nix @@ -1,7 +1,7 @@ { disko.devices = { disk = { - vdb = { + main = { device = "/dev/disk/by-path/pci-0000:02:00.0-nvme-1"; type = "disk"; content = { diff --git a/example/btrfs-only-root-subvolume.nix b/example/btrfs-only-root-subvolume.nix index 6a91656..91ba72e 100644 --- a/example/btrfs-only-root-subvolume.nix +++ b/example/btrfs-only-root-subvolume.nix @@ -1,7 +1,7 @@ { disko.devices = { disk = { - vdb = { + main = { type = "disk"; device = "/dev/disk/by-diskseq/1"; content = { diff --git a/example/btrfs-subvolumes.nix b/example/btrfs-subvolumes.nix index 96979f4..31c4a4a 100644 --- a/example/btrfs-subvolumes.nix +++ b/example/btrfs-subvolumes.nix @@ -1,7 +1,7 @@ { disko.devices = { disk = { - vdb = { + main = { type = "disk"; device = "/dev/disk/by-diskseq/1"; content = { diff --git a/example/gpt-bios-compat.nix b/example/gpt-bios-compat.nix index f0e8f97..4be1942 100644 --- a/example/gpt-bios-compat.nix +++ b/example/gpt-bios-compat.nix @@ -2,7 +2,7 @@ { disko.devices = { disk = { - vdb = { + main = { device = "/dev/vdb"; type = "disk"; content = { diff --git a/example/legacy-table.nix b/example/legacy-table.nix index 98348ee..b022e8f 100644 --- a/example/legacy-table.nix +++ b/example/legacy-table.nix @@ -1,7 +1,7 @@ { disko.devices = { disk = { - vdb = { + main = { device = "/dev/sda"; type = "disk"; content = { diff --git a/example/long-device-name.nix b/example/long-device-name.nix index 158d683..7f8af8b 100644 --- a/example/long-device-name.nix +++ b/example/long-device-name.nix @@ -1,7 +1,7 @@ { disko.devices = { disk = { - vdb = { + main = { device = "/dev/disk/by-id/some-disk-id"; name = "this-is-some-super-long-name-to-test-what-happens-when-the-name-is-too-long"; type = "disk"; diff --git a/example/luks-btrfs-subvolumes.nix b/example/luks-btrfs-subvolumes.nix index 9191570..9689f5a 100644 --- a/example/luks-btrfs-subvolumes.nix +++ b/example/luks-btrfs-subvolumes.nix @@ -1,7 +1,7 @@ { disko.devices = { disk = { - vdb = { + main = { type = "disk"; device = "/dev/vdb"; content = { diff --git a/example/luks-interactive-login.nix b/example/luks-interactive-login.nix index 2317b80..b52e0f1 100644 --- a/example/luks-interactive-login.nix +++ b/example/luks-interactive-login.nix @@ -1,7 +1,7 @@ { disko.devices = { disk = { - vdb = { + main = { type = "disk"; device = "/dev/vdb"; content = { diff --git a/example/luks-lvm.nix b/example/luks-lvm.nix index 154e599..1ae4a2e 100644 --- a/example/luks-lvm.nix +++ b/example/luks-lvm.nix @@ -1,7 +1,7 @@ { disko.devices = { disk = { - vdb = { + main = { type = "disk"; device = "/dev/vdb"; content = { diff --git a/example/lvm-thin.nix b/example/lvm-thin.nix index 00da72d..41aa19b 100644 --- a/example/lvm-thin.nix +++ b/example/lvm-thin.nix @@ -1,7 +1,7 @@ { disko.devices = { disk = { - vdb = { + main = { type = "disk"; device = "/dev/vdb"; content = { diff --git a/example/mdadm-raid0.nix b/example/mdadm-raid0.nix index 519116c..dcdebc5 100644 --- a/example/mdadm-raid0.nix +++ b/example/mdadm-raid0.nix @@ -1,7 +1,7 @@ { disko.devices = { disk = { - vdb = { + disk1 = { type = "disk"; device = "/dev/my-disk"; content = { @@ -21,7 +21,7 @@ }; }; }; - vdc = { + disk2 = { type = "disk"; device = "/dev/my-disk2"; content = { diff --git a/example/mdadm.nix b/example/mdadm.nix index 33faac9..b6c7883 100644 --- a/example/mdadm.nix +++ b/example/mdadm.nix @@ -1,7 +1,7 @@ { disko.devices = { disk = { - vdb = { + disk1 = { type = "disk"; device = "/dev/my-disk"; content = { @@ -21,7 +21,7 @@ }; }; }; - vdc = { + disk2 = { type = "disk"; device = "/dev/my-disk2"; content = { diff --git a/example/simple-efi.nix b/example/simple-efi.nix index d92c108..1a6ac91 100644 --- a/example/simple-efi.nix +++ b/example/simple-efi.nix @@ -1,7 +1,7 @@ { disko.devices = { disk = { - vdb = { + main = { device = "/dev/disk/by-id/some-disk-id"; type = "disk"; content = { diff --git a/example/swap.nix b/example/swap.nix index a6df51c..976847c 100644 --- a/example/swap.nix +++ b/example/swap.nix @@ -1,7 +1,7 @@ { disko.devices = { disk = { - vdb = { + main = { device = "/dev/vdb"; type = "disk"; content = { diff --git a/example/tmpfs.nix b/example/tmpfs.nix index 7c2493a..5a7340e 100644 --- a/example/tmpfs.nix +++ b/example/tmpfs.nix @@ -1,7 +1,7 @@ { disko.devices = { disk = { - vdb = { + main = { device = "/dev/vdb"; type = "disk"; content = { diff --git a/example/zfs-over-legacy.nix b/example/zfs-over-legacy.nix index 92a38f1..b90e9a3 100644 --- a/example/zfs-over-legacy.nix +++ b/example/zfs-over-legacy.nix @@ -1,7 +1,7 @@ { disko.devices = { disk = { - vdb = { + disk1 = { type = "disk"; device = "/dev/vdb"; content = { @@ -30,7 +30,7 @@ }; }; }; - vdc = { + disk2 = { type = "disk"; device = "/dev/vdc"; content = {