diff --git a/template/disk-configs/simple-efi.nix b/template/disk-configs/simple-efi.nix index 9cf77f1..f663052 100644 --- a/template/disk-configs/simple-efi.nix +++ b/template/disk-configs/simple-efi.nix @@ -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 = { diff --git a/template/flake.nix b/template/flake.nix index f9a2cba..8cea172 100644 --- a/template/flake.nix +++ b/template/flake.nix @@ -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 = {