Skip to content

Commit

Permalink
examples: rename vdb -> main
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 authored and mergify[bot] committed Jul 19, 2024
1 parent e8e8d9a commit bec6e3c
Show file tree
Hide file tree
Showing 16 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion example/bcachefs.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
disko.devices = {
disk = {
vdb = {
main = {
device = "/dev/disk/by-path/pci-0000:02:00.0-nvme-1";
type = "disk";
content = {
Expand Down
2 changes: 1 addition & 1 deletion example/btrfs-only-root-subvolume.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
disko.devices = {
disk = {
vdb = {
main = {
type = "disk";
device = "/dev/disk/by-diskseq/1";
content = {
Expand Down
2 changes: 1 addition & 1 deletion example/btrfs-subvolumes.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
disko.devices = {
disk = {
vdb = {
main = {
type = "disk";
device = "/dev/disk/by-diskseq/1";
content = {
Expand Down
2 changes: 1 addition & 1 deletion example/gpt-bios-compat.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
disko.devices = {
disk = {
vdb = {
main = {
device = "/dev/vdb";
type = "disk";
content = {
Expand Down
2 changes: 1 addition & 1 deletion example/legacy-table.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
disko.devices = {
disk = {
vdb = {
main = {
device = "/dev/sda";
type = "disk";
content = {
Expand Down
2 changes: 1 addition & 1 deletion example/long-device-name.nix
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion example/luks-btrfs-subvolumes.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
disko.devices = {
disk = {
vdb = {
main = {
type = "disk";
device = "/dev/vdb";
content = {
Expand Down
2 changes: 1 addition & 1 deletion example/luks-interactive-login.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
disko.devices = {
disk = {
vdb = {
main = {
type = "disk";
device = "/dev/vdb";
content = {
Expand Down
2 changes: 1 addition & 1 deletion example/luks-lvm.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
disko.devices = {
disk = {
vdb = {
main = {
type = "disk";
device = "/dev/vdb";
content = {
Expand Down
2 changes: 1 addition & 1 deletion example/lvm-thin.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
disko.devices = {
disk = {
vdb = {
main = {
type = "disk";
device = "/dev/vdb";
content = {
Expand Down
4 changes: 2 additions & 2 deletions example/mdadm-raid0.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
disko.devices = {
disk = {
vdb = {
disk1 = {
type = "disk";
device = "/dev/my-disk";
content = {
Expand All @@ -21,7 +21,7 @@
};
};
};
vdc = {
disk2 = {
type = "disk";
device = "/dev/my-disk2";
content = {
Expand Down
4 changes: 2 additions & 2 deletions example/mdadm.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
disko.devices = {
disk = {
vdb = {
disk1 = {
type = "disk";
device = "/dev/my-disk";
content = {
Expand All @@ -21,7 +21,7 @@
};
};
};
vdc = {
disk2 = {
type = "disk";
device = "/dev/my-disk2";
content = {
Expand Down
2 changes: 1 addition & 1 deletion example/simple-efi.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
disko.devices = {
disk = {
vdb = {
main = {
device = "/dev/disk/by-id/some-disk-id";
type = "disk";
content = {
Expand Down
2 changes: 1 addition & 1 deletion example/swap.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
disko.devices = {
disk = {
vdb = {
main = {
device = "/dev/vdb";
type = "disk";
content = {
Expand Down
2 changes: 1 addition & 1 deletion example/tmpfs.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
disko.devices = {
disk = {
vdb = {
main = {
device = "/dev/vdb";
type = "disk";
content = {
Expand Down
4 changes: 2 additions & 2 deletions example/zfs-over-legacy.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
disko.devices = {
disk = {
vdb = {
disk1 = {
type = "disk";
device = "/dev/vdb";
content = {
Expand Down Expand Up @@ -30,7 +30,7 @@
};
};
};
vdc = {
disk2 = {
type = "disk";
device = "/dev/vdc";
content = {
Expand Down

0 comments on commit bec6e3c

Please sign in to comment.