summaryrefslogtreecommitdiff
path: root/hostnix/weebnix/Makefile
diff options
context:
space:
mode:
authorJoe Mou <dev@mou.fo>2024-02-13 16:03:54 -0500
committerJoe Mou <dev@mou.fo>2024-02-13 16:03:54 -0500
commitb44323f868c845adb17d441f872ea3b192ae2aca (patch)
tree986b8f90cf90bcf4225c519b00902c5e26a3f6b3 /hostnix/weebnix/Makefile
parent4c705566d91b42ca4c22623346ac377d3932870c (diff)
Leftover weebnix configs (hard drive died?)
Diffstat (limited to 'hostnix/weebnix/Makefile')
-rw-r--r--hostnix/weebnix/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/hostnix/weebnix/Makefile b/hostnix/weebnix/Makefile
new file mode 100644
index 0000000..90591a9
--- /dev/null
+++ b/hostnix/weebnix/Makefile
@@ -0,0 +1,7 @@
+push:
+ rsync --rsync-path='sudo rsync' *.nix weebnix.lan:/etc/nixos/
+
+switch: push
+ ssh weebnix.lan sudo nixos-rebuild switch
+
+.PHONY: push switch