all: init
-include .lib/nix/Makefile.make
-include .lib/nixops/Makefile.make
-include machines/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
-
-#sudo zfs mount rpool/ROOT/$(machine)
-#sudo zfs create -o canmount=noauto -o mountpoint=legacy bpool/BOOT/$(machine)
-#sudo zfs mount bpool/BOOT/$(machine)
-#blkid -t TYPE=ext2 $(disk)-part1; test $$? != 2 || \
-#sudo $$(which mkfs.ext2) $(disk)-part1
-#sudo $$(which tune2fs) -L mermet-root -m 5 $(disk)-part1
-#blkid -t TYPE=swap $(disk)-part2; test $$? != 2 || \
-#sudo $$(which mkswap) -L mermet-swap $(disk)-part2
-#blkid -t TYPE=ext4 $(disk)-part3; test $$? != 2 || \
-#sudo $$(which mkfs.ext4) $(disk)-part3
-#sudo $$(which tune2fs) -L mermet-root -m 5 $(disk)-part3
-#blkid -t TYPE=ext4 $(disk)-part4; test $$? != 2 || \
-#sudo $$(which mkfs.ext4) $(disk)-part4
-#sudo $$(which tune2fs) -L mermet-data -m 0 $(disk)-part4
-#sudo $$(which gdisk) -l $(disk)
-#sudo $$(which mdadm) --create /disk/md/$(machine) --level raid1 --raid-devices=2 --metadata=1.2 $(disk) missing
+tunnel-rspamd:
+ ssh -nNTL 11334:localhost:11334 root@sourcephile.fr