summaryrefslogtreecommitdiff
path: root/hostnix/elmo/Makefile
diff options
context:
space:
mode:
authorJoe Mou <dev@mou.fo>2024-02-15 02:31:58 -0500
committerJoe Mou <dev@mou.fo>2024-02-15 02:31:58 -0500
commitd1dd864df4f2b8acb0082b1198639cc5d7d9a7f9 (patch)
treea1df89f3db580ac89645cdb4f86c673108dfe8f3 /hostnix/elmo/Makefile
parent0e314643653c1ede88647510bfe103a20f71b0d0 (diff)
Port configs from weebnix
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