]> Git — Sourcephile - sourcephile-nix.git/blob - Makefile
nix: revamp the config paths
[sourcephile-nix.git] / Makefile
1 all: init
2
3 include .lib/nixops/Makefile.make
4
5 .PHONY: base/unbound/named.root
6 base/unbound/named.root:
7 mkdir -p $(@D)
8 curl >$@ -L https://www.internic.net/domain/named.root
9
10 send-pass:
11 rsync -ai --delete ../sec/pass julm@sourcephile.fr:work/sourcephile/sec/
12 recv-pass:
13 rsync -ai --delete julm@sourcephile.fr:work/sourcephile/sec/pass ../sec/
14
15 tunnel-rspamd:
16 ssh -nNTL 11334:localhost:11334 root@sourcephile.fr
17
18 #
19 ## init
20 ###
21 .PHONY: build
22 build:
23 nix $(NIX_FLAGS) build -f build \
24 --out-link result \
25 --show-trace $(NIX_BUILD_FLAGS)
26 tree result/
27
28 init: build
29 result/bin/init