summaryrefslogtreecommitdiffstats
path: root/old/infest.d/nixos-install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'old/infest.d/nixos-install.sh')
-rw-r--r--old/infest.d/nixos-install.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/old/infest.d/nixos-install.sh b/old/infest.d/nixos-install.sh
new file mode 100644
index 000000000..df01a3468
--- /dev/null
+++ b/old/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