Skip to content

Commit 2e6daff

Browse files
committedNov 3, 2017
nixos/unbound: correct indented interface/access lists
1 parent 19d67e1 commit 2e6daff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎nixos/modules/services/networking/unbound.nix

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ let
88

99
stateDir = "/var/lib/unbound";
1010

11-
access = concatMapStrings (x: " access-control: ${x} allow\n") cfg.allowedAccess;
11+
access = concatMapStringsSep "\n " (x: "access-control: ${x} allow") cfg.allowedAccess;
1212

13-
interfaces = concatMapStrings (x: " interface: ${x}\n") cfg.interfaces;
13+
interfaces = concatMapStringsSep "\n " (x: "interface: ${x}") cfg.interfaces;
1414

1515
isLocalAddress = x: substring 0 3 x == "::1" || substring 0 9 x == "127.0.0.1";
1616

0 commit comments

Comments
 (0)
Please sign in to comment.