blob: 8ddaa9b2dab6446b6a16a360038879339dce9ac2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
HOST = simatime.com
USER = root
OUT = $(shell readlink -n ./result)
result:
nix-build --attr system ./depo/nutin-madaj
copy: result
nix copy --to "ssh://$(USER)@$(HOST)" ./result
switch:
ssh $(USER)@$(HOST) sudo "$(OUT)/bin/switch-to-configuration" switch
clean: FORCE
rm -f ./result
.PHONY: FORCE
|