summaryrefslogtreecommitdiffstats
path: root/infest.d/nixos-install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'infest.d/nixos-install.sh')
-rw-r--r--infest.d/nixos-install.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/infest.d/nixos-install.sh b/infest.d/nixos-install.sh
new file mode 100644
index 000000000..df01a3468
--- /dev/null
+++ b/infest.d/nixos-install.sh
@@ -0,0 +1,8 @@
+#! /bin/sh
+# usage: cat infest-nixos-install.sh | ./cac ssh ...
+set -euf
+nixos-install \
+ -I secrets=/etc/nixos/secrets \
+ -I retiolum-hosts=/etc/nixos/hosts \
+ -I pubkeys=/etc/nixos/pubkeys \
+ -I nixpkgs=/etc/nixos/nixpkgs