refactor: rename "one" to "disk1"

This commit is contained in:
Daniel Langbein 2023-10-12 12:58:02 +02:00
parent 97e64df518
commit 86a62729af
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Example to create a bios compatible gpt partition # Example to create a bios compatible gpt partition
{ lib, ... }: { { lib, ... }: {
disko.devices.disk = { disko.devices.disk = {
one = { disk1 = {
device = lib.mkDefault "/dev/nvme0n1"; device = lib.mkDefault "/dev/nvme0n1";
type = "disk"; type = "disk";
content = { content = {

View File

@ -33,7 +33,7 @@
# Change device name match your block device. # Change device name match your block device.
# Running `lsblk` on the target machine can help you here. # Running `lsblk` on the target machine can help you here.
# Examples: "/dev/nvme0n1", "/dev/sda", "/dev/vda" # Examples: "/dev/nvme0n1", "/dev/sda", "/dev/vda"
{ disko.devices.disk.one.device = "/dev/nvme0n1"; } { disko.devices.disk.disk1.device = "/dev/disk/by-id/nvme-SAMSUNG_MZVLW128HEGR-000H1_S33ZNX0J129742"; }
{ {
boot.loader.grub = { boot.loader.grub = {