From 11192fd7a3972cad0eccf3583d6954e81e1ef49a Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 9 Jul 2019 18:52:15 +0200 Subject: no unbound --- hel.nix | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/hel.nix b/hel.nix index 01f2093e..ef93a3ca 100644 --- a/hel.nix +++ b/hel.nix @@ -143,31 +143,7 @@ enableOnBoot = false; }; - systemd.services."unbound" = { - preStart = '' - if test -d /etc/unbound; then - mkdir -p /var/lib/unbound/etc/unbound - ${pkgs.utillinux}/bin/mount -o bind,ro -n /etc/unbound /var/lib/unbound/etc/unbound - fi - ''; - serviceConfig.ExecStopPost = lib.mkForce (pkgs.writeScript "unit-script-unbound-post-stop" '' - #!${pkgs.bash}/bin/bash - - ${pkgs.utillinux}/bin/umount /var/lib/unbound/dev/random - ${pkgs.utillinux}/bin/umount /var/lib/unbound/etc/unbound - ''); - }; - services = { - unbound = { - enable = true; - extraConfig = '' - remote-control: - control-enable: yes - - ''; - }; - fprintd.enable = true; vnstat.enable = true; -- cgit v1.2.3