postfix: use RuntimeDirectory
[sourcephile-nix.git] / Makefile
index 97102613c6b347ff8ba4561703c195be85d023c7..bda7b86fd7443da6215cad7674dda2946623766a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,24 +1,9 @@
 all: init
 
-include .lib/nixops/Makefile.make
-
-.PHONY: config/dns/named.root
-config/dns/named.root:
+.PHONY: var/named.root
+var/named.root:
        mkdir -p $(@D)
        curl >$@ -L https://www.internic.net/domain/named.root
 
-send-pass:
-       rsync -ai ../sec/pass julm@sourcephile.fr:work/sourcephile/sec/
-
-#
-## init
-###
-.PHONY: build
-build:
-       nix $(NIX_FLAGS) build -f build \
-        --out-link result \
-        --show-trace $(NIX_BUILD_FLAGS)
-       tree result/
-
-init: build
-       result/bin/init
+tunnel-rspamd:
+       ssh -nNTL 11334:localhost:11334 root@sourcephile.fr