wireguard: improve initrd setup
[sourcephile-nix.git] / Makefile
index 21d5a920fca055cde39b1984e6fd007ee4c26d78..b05e6c4507b0963d351c9e5108f7e084c9f6c39f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,23 @@
 all: init
 
-include .lib/nix/Makefile.make
-include .lib/nixops/Makefile.make
-include bootstrap/mermet/Makefile.make
+.PHONY: nixos/base/unbound/named.root
+nixos/base/unbound/named.root:
+       mkdir -p $(@D)
+       curl >$@ -L https://www.internic.net/domain/named.root
+
+send-pass:
+       rsync -ai --delete ../sec/pass julm@sourcephile.fr:work/sourcephile/sec/
+send-nixops:
+       rsync -ai --delete ../sec/nixops julm@sourcephile.fr:work/sourcephile/sec/
+recv-pass:
+       rsync -ai --delete julm@sourcephile.fr:work/sourcephile/sec/pass  ../sec/
+recv-gnupg:
+       rsync -ai --delete julm@sourcephile.fr:work/sourcephile/sec/gnupg  ../sec/
+recv-ssh:
+       rsync -ai --delete julm@sourcephile.fr:work/sourcephile/sec/ssh  ../sec/
+
+tunnel-rspamd:
+       ssh -nNTL 11334:localhost:11334 root@sourcephile.fr
 
 #
 ## init