diff options
Diffstat (limited to 'hostnix/elmo/Makefile')
| -rw-r--r-- | hostnix/elmo/Makefile | 7 |
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 |
