nix: update inputs
[sourcephile-nix.git] / Makefile
index 4681f18dafad95a2e83dc0be23f2236c1d11cb7b..bda7b86fd7443da6215cad7674dda2946623766a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,18 +1,9 @@
 all: init
 
-include .lib/nix/Makefile.make
-include .lib/nixops/Makefile.make
-include servers/mermet/Makefile
+.PHONY: var/named.root
+var/named.root:
+       mkdir -p $(@D)
+       curl >$@ -L https://www.internic.net/domain/named.root
 
-#
-## 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