summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2019-07-09 18:07:30 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2019-07-09 18:07:30 +0200
commit9da246abeeaae92b5cecd0526eeb40a1cccb3260 (patch)
treef2886124d403c39b8d19e9f2c88df2df9f695cac
parent0ff739ab5a2c9c927edc8e14e125b047af0339b5 (diff)
downloadnixos-9da246abeeaae92b5cecd0526eeb40a1cccb3260.tar
nixos-9da246abeeaae92b5cecd0526eeb40a1cccb3260.tar.gz
nixos-9da246abeeaae92b5cecd0526eeb40a1cccb3260.tar.bz2
nixos-9da246abeeaae92b5cecd0526eeb40a1cccb3260.tar.xz
nixos-9da246abeeaae92b5cecd0526eeb40a1cccb3260.zip
...
-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 '';