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 417f11b9..8ec19e6c 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 6a916565..91ba72e4 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 96979f4a..31c4a4a6 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 f0e8f970..4be1942b 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 98348eed..b022e8ff 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 158d6832..7f8af8bb 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 91915704..9689f5af 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 2317b802..b52e0f13 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 154e599b..1ae4a2e8 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 00da72d6..41aa19bf 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 519116c1..dcdebc5d 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 33faac9b..b6c78835 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 d92c108e..1a6ac910 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 a6df51c5..976847c7 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 7c2493ad..5a7340e7 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 92a38f11..b90e9a35 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 = {