From af4a580628e98302bb922c01e1169ce08d7bee57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Mon, 17 Feb 2025 18:24:04 +0700 Subject: [PATCH] docs/disko-images: fix codeblocks --- docs/disko-images.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/disko-images.md b/docs/disko-images.md index 433c307..281a067 100644 --- a/docs/disko-images.md +++ b/docs/disko-images.md @@ -92,7 +92,7 @@ In the this example we create a flake containing a nixos configuration for - For custom image name output, define the image name in your Disko configuration: - ```console + ```nix disko.devices.disk..imageName = "nixos-x86_64-linux-generic-btrfs"; # Set your preferred name ``` @@ -100,13 +100,13 @@ In the this example we create a flake containing a nixos configuration for - For virtual drive use, define the image size in your Disko configuration: - ```console + ```nix disko.devices.disk..imageSize = "32G"; # Set your preferred size ``` - To build an image for another target platform, enable binfmt emulation support. - ```console + ```nix disko.imageBuilder.enableBinfmt = true; ``` @@ -114,7 +114,7 @@ In the this example we create a flake containing a nixos configuration for The relevant configuration for building `aarch64-linux` images on a `x86_64-linux` host looks like this: - ```console + ```nix disko = { imageBuilder = { enableBinfmt = true;