From 6b8c308aad9336d9fd4cc6d38eb121f4f7fc5b3b Mon Sep 17 00:00:00 2001 From: Maurice Zhou Date: Sat, 18 Mar 2023 22:41:02 +0100 Subject: [PATCH] NixOS: enclose disk variable in double quotes Signed-off-by: Maurice Zhou --- .../NixOS/Root on ZFS/3-system-configuration.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Getting Started/NixOS/Root on ZFS/3-system-configuration.rst b/docs/Getting Started/NixOS/Root on ZFS/3-system-configuration.rst index 6acbd77..89bdd5a 100644 --- a/docs/Getting Started/NixOS/Root on ZFS/3-system-configuration.rst +++ b/docs/Getting Started/NixOS/Root on ZFS/3-system-configuration.rst @@ -9,7 +9,7 @@ System Configuration #. Enter ephemeral nix-shell with git support:: mkdir -p /mnt/etc/ - echo DISK=$DISK > ~/disk + echo DISK=\"$DISK\" > ~/disk nix-shell -p git