summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hill <daniel@gluo.nz>2022-10-31 18:44:51 +1300
committerDaniel Hill <daniel@gluo.nz>2022-10-31 18:44:51 +1300
commit05bb3759d862a3588785cbf8fe4fe3f823dde605 (patch)
treeb2bcc95d5c6917005c1230a9ff41f78bb1a7189d
parent600ce1472227fdbf922db032e50d356331ed5952 (diff)
add missing etc dir.
nixos-generate-config usually sets up etc directory for us but we need it prior to running that command. Signed-off-by: Daniel Hill <daniel@gluo.nz>
-rw-r--r--TestServerSetup.mdwn3
1 files changed, 2 insertions, 1 deletions
diff --git a/TestServerSetup.mdwn b/TestServerSetup.mdwn
index 6316b82..91c1191 100644
--- a/TestServerSetup.mdwn
+++ b/TestServerSetup.mdwn
@@ -43,11 +43,12 @@ Mount the partitions as steps 1-3 instruct.
Clone our repo in to `/etc/nixos` on the target machine:
cd /mnt
+ mkdir -p etc
mkdir -p tmp # needed for a bug in the installer
git clone https://github.com/YellowOnion/nixos-test-farm.git nixos
- cd nixos
+ cd etc/nixos
Run our custom setup script (this automates `nixos-generate-config`):