diff options
author | EuAndreh <eu@euandre.org> | 2020-11-16 23:00:54 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2020-11-16 23:00:54 -0300 |
commit | 5bffec22beea17872c63926e0ea1017ae847616d (patch) | |
tree | 2d70428b27628b3eedf016ce00e3f39e1ab2182e | |
parent | Copy over the .bashrc file from the VPS (diff) | |
download | toph-5bffec22beea17872c63926e0ea1017ae847616d.tar.gz toph-5bffec22beea17872c63926e0ea1017ae847616d.tar.xz |
rsync the full folder to home instead of file by file
-rwxr-xr-x | guix-reconfigure.sh | 2 | ||||
-rw-r--r-- | sync/.bashrc (renamed from .bashrc) | 0 | ||||
-rw-r--r-- | sync/vps.scm (renamed from vps.scm) | 5 |
3 files changed, 4 insertions, 3 deletions
diff --git a/guix-reconfigure.sh b/guix-reconfigure.sh index 1ef1d8c..888879d 100755 --- a/guix-reconfigure.sh +++ b/guix-reconfigure.sh @@ -3,6 +3,6 @@ set -Eeuo pipefail cd "$(dirname "${BASH_SOURCE[0]}")" set -x -scp vps.scm "$TLD:vps.scm" +rsync -avzzP sync/ "$TLD:~/" ssh "$TLD" guix pull ssh "$TLD" sudo guix system reconfigure vps.scm @@ -22,8 +22,9 @@ root ALL=(ALL) ALL %base-user-accounts)) (sudoers-file (plain-file "sudoers" sudoers)) (packages - (append - (list (specification->package "nss-certs")) + (append (map specification->package + '("nss-certs" + "rsync")) %base-packages)) (services (append |