tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
nixos/unbound: correct indented interface/access lists
Joerg Thalheim
8 years ago
2e6daff7
19d67e13
+2
-2
1 changed file
expand all
collapse all
unified
split
nixos
modules
services
networking
unbound.nix
+2
-2
nixos/modules/services/networking/unbound.nix
···
8
8
9
9
stateDir = "/var/lib/unbound";
10
10
11
11
-
access = concatMapStrings (x: " access-control: ${x} allow\n") cfg.allowedAccess;
11
11
+
access = concatMapStringsSep "\n " (x: "access-control: ${x} allow") cfg.allowedAccess;
12
12
13
13
-
interfaces = concatMapStrings (x: " interface: ${x}\n") cfg.interfaces;
13
13
+
interfaces = concatMapStringsSep "\n " (x: "interface: ${x}") cfg.interfaces;
14
14
15
15
isLocalAddress = x: substring 0 3 x == "::1" || substring 0 9 x == "127.0.0.1";
16
16