mirror of
https://codeberg.org/privacy1st/nixos-anywhere-example
synced 2024-11-21 22:03:19 +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
|
# 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 = {
|
||||||
|
@ -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 = {
|
||||||
|
Loading…
Reference in New Issue
Block a user