diff options
author | tv <tv@krebsco.de> | 2015-07-07 05:55:28 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2015-07-07 05:55:28 +0200 |
commit | 49a199abebdec4e684dfde05a358f1d55020135e (patch) | |
tree | 92f1fc881c8d85c5f303ec2a7c7f31b087e1b9df /bin/nixos-deploy | |
parent | 45729f5a52a4172460e8ce079f604069d92efe90 (diff) |
deploy: refactor to use modified/*/paths.nix
Diffstat (limited to 'bin/nixos-deploy')
-rwxr-xr-x | bin/nixos-deploy | 16 |
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 |