summaryrefslogtreecommitdiffstats
path: root/bin/nixos-deploy
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2015-07-07 05:55:28 +0200
committertv <tv@krebsco.de>2015-07-07 05:55:28 +0200
commit49a199abebdec4e684dfde05a358f1d55020135e (patch)
tree92f1fc881c8d85c5f303ec2a7c7f31b087e1b9df /bin/nixos-deploy
parent45729f5a52a4172460e8ce079f604069d92efe90 (diff)
deploy: refactor to use modified/*/paths.nix
Diffstat (limited to 'bin/nixos-deploy')
-rwxr-xr-xbin/nixos-deploy16
1 files changed, 0 insertions, 16 deletions
diff --git a/bin/nixos-deploy b/bin/nixos-deploy
deleted file mode 100755
index fa86a8c..0000000
--- a/bin/nixos-deploy
+++ /dev/null
@@ -1,16 +0,0 @@
-#! /bin/sh
-#
-# nixos-deploy system_name target
-#
-set -euf
-
-system_name=$1
-target=$2
-
-system=$(nixos-build "$system_name")
-
-nix-copy-closure --gzip --to "$target" "$system"
-
-copy-secrets "$system_name" "$target"
-
-ssh ${NIX_SSHOPTS-} "$target" "$system/bin/switch-to-configuration" switch