summaryrefslogtreecommitdiff
path: root/hostnix/elmo/Makefile
blob: dfe80254df62250ff38ff820d6f626734943b929 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
push:
	rsync -r --rsync-path='sudo rsync' --exclude Makefile . elmo:/etc/nixos/
	rsync -r --delete --chown=joe:users --rsync-path='sudo rsync' \
		--exclude node_modules --exclude .wrangler ../../cgithub/ elmo:/etc/nixos/cgithub/

switch: push
	ssh elmo sudo nixos-rebuild switch

update:
	nix flake update

upgrade: update switch

.PHONY: push switch update upgrade