aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-12-06 14:55:05 -0300
committerEuAndreh <eu@euandre.org>2022-12-06 14:55:05 -0300
commit20d2253b7efa6b8399bfcd808397c75c31c3b647 (patch)
treefbe9135dd927a616be710abebf2f4629fee61f35 /Makefile
parentRevert "system.scm: Decrease permission of Postfix queue dir" (diff)
downloadserver-20d2253b7efa6b8399bfcd808397c75c31c3b647.tar.gz
server-20d2253b7efa6b8399bfcd808397c75c31c3b647.tar.xz
Makefile: Add $(HOST) variable
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 7f0ecf0..944f87c 100644
--- a/Makefile
+++ b/Makefile
@@ -14,12 +14,13 @@ dev-check: check public
public:
+HOST = toph
deploy:
scp \
src/infrastructure/guix/channels.scm \
src/infrastructure/guix/system.scm \
- toph:/etc/guix/
- ssh toph reconfigure
+ $(HOST):/etc/guix/
+ ssh $(HOST) r reconfigure $(OPTS)
.sentinel/mkdir-public: