mirror of
https://codeberg.org/privacy1st/nixos-anywhere-example
synced 2024-11-23 22:19:33 +01:00
refactor: rename "one" to "disk1"
This commit is contained in:
parent
97e64df518
commit
86a62729af
@ -1,7 +1,7 @@
|
||||
# Example to create a bios compatible gpt partition
|
||||
{ lib, ... }: {
|
||||
disko.devices.disk = {
|
||||
one = {
|
||||
disk1 = {
|
||||
device = lib.mkDefault "/dev/nvme0n1";
|
||||
type = "disk";
|
||||
content = {
|
||||
|
@ -33,7 +33,7 @@
|
||||
# Change device name match your block device.
|
||||
# Running `lsblk` on the target machine can help you here.
|
||||
# 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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user