]> Git — Sourcephile - sourcephile-nix.git/blob - Makefile
pass: use builtins.dirOf
[sourcephile-nix.git] / Makefile
1 all: init
2
3 .PHONY: nixos/base/unbound/named.root
4 nixos/base/unbound/named.root:
5 mkdir -p $(@D)
6 curl >$@ -L https://www.internic.net/domain/named.root
7
8 send-pass:
9 rsync -ai --delete ../sec/pass julm@sourcephile.fr:work/sourcephile/sec/
10 send-nixops:
11 rsync -ai --delete ../sec/nixops 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