summaryrefslogtreecommitdiffstats
path: root/infest.d/nixos-install.sh
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-06-24 14:36:59 +0200
committertv <tv@shackspace.de>2015-06-24 15:01:23 +0200
commit45a0cb01d37e64b4d4d56a7a6769aba61d0fd8f2 (patch)
treedb07acb0a8baa7ee67460e1743461a06a87c0adc /infest.d/nixos-install.sh
parentbb7343cd89115e0768baaa426c68e49d399f6c6f (diff)
rewrite infest-cac-CentOS-7-64bit
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