summaryrefslogtreecommitdiff
path: root/hostnix/weebnix/Makefile
diff options
context:
space:
mode:
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