summaryrefslogtreecommitdiff
path: root/hostnix/elmo/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'hostnix/elmo/Makefile')
-rw-r--r--hostnix/elmo/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/hostnix/elmo/Makefile b/hostnix/elmo/Makefile
new file mode 100644
index 0000000..81c317d
--- /dev/null
+++ b/hostnix/elmo/Makefile
@@ -0,0 +1,7 @@
+push:
+ rsync --rsync-path='sudo rsync' *.nix elmo.lan:/etc/nixos/
+
+switch: push
+ ssh elmo.lan sudo nixos-rebuild switch
+
+.PHONY: push switch