about summary refs log tree commit diff
path: root/nix/hosts/pi1/build.sh
diff options
context:
space:
mode:
authorEmile <git@emile.space>2024-06-09 00:29:00 +0200
committerEmile <git@emile.space>2024-06-09 00:29:00 +0200
commit9995ba6aaa25d377a686753f0f92da35e7895fe5 (patch)
treeb9074ec9c6253b25bc827353ed31a9d022e7c659 /nix/hosts/pi1/build.sh
parent4734e0a6debaf1ba48ad106dde05bfec2fb0ccdf (diff)
playing around with building images for the pi1s
Diffstat (limited to 'nix/hosts/pi1/build.sh')
-rw-r--r--nix/hosts/pi1/build.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/nix/hosts/pi1/build.sh b/nix/hosts/pi1/build.sh
new file mode 100644
index 0000000..bb4fd1d
--- /dev/null
+++ b/nix/hosts/pi1/build.sh
@@ -0,0 +1,14 @@
+# # export NIX_PATH=nixpkgs=/home/jane/local_nixpkgs_checkout
+# nix-build --cores 0 '<nixpkgs/nixos>' \
+#   -I nixos-config=configuration.nix \
+#   -A config.system.build.sdImage \
+#   -o result-cross \
+#   --keep-going
+
+nix-build \
+	--cores 0 \
+	'<nixpkgs/nixos>' \
+	-I nixos-config=configuration.nix \
+	-A config.system.build.sdImage \
+	-o result-cross \
+	--show-trace