From 49a199abebdec4e684dfde05a358f1d55020135e Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 7 Jul 2015 05:55:28 +0200 Subject: deploy: refactor to use modified/*/paths.nix --- bin/nixos-deploy | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100755 bin/nixos-deploy (limited to 'bin/nixos-deploy') 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 -- cgit v1.2.3