]> Git — Sourcephile - sourcephile-nix.git/blob - Makefile
losurdo: move everything from the SD card to the NVMe
[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 recv-gnupg:
15 rsync -ai --delete julm@sourcephile.fr:work/sourcephile/sec/gnupg ../sec/
16 recv-ssh:
17 rsync -ai --delete julm@sourcephile.fr:work/sourcephile/sec/ssh ../sec/
18
19 tunnel-rspamd:
20 ssh -nNTL 11334:localhost:11334 root@sourcephile.fr
21
22 #
23 ## init
24 ###
25 .PHONY: build
26 build:
27 nix $(NIX_FLAGS) build -f build \
28 --out-link result \
29 --show-trace $(NIX_BUILD_FLAGS)
30 tree result/
31
32 init: build
33 result/bin/init