summaryrefslogtreecommitdiff
path: root/hel.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hel.nix')
-rw-r--r--hel.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/hel.nix b/hel.nix
index 6ae2d96a..01f2093e 100644
--- a/hel.nix
+++ b/hel.nix
@@ -145,8 +145,8 @@
145 145
146 systemd.services."unbound" = { 146 systemd.services."unbound" = {
147 preStart = '' 147 preStart = ''
148 if [[ -d /etc/unbound ]]; then 148 if test -d /etc/unbound; then
149 ${pkgs.coreutils}/bin/mkdir -p /var/lib/unbound/etc/unbound 149 mkdir -p /var/lib/unbound/etc/unbound
150 ${pkgs.utillinux}/bin/mount -o bind,ro -n /etc/unbound /var/lib/unbound/etc/unbound 150 ${pkgs.utillinux}/bin/mount -o bind,ro -n /etc/unbound /var/lib/unbound/etc/unbound
151 fi 151 fi
152 ''; 152 '';