git.iko.soy/typeable/nixpkgs
on master help sign in
nixos/unbound: correct indented interface/access lists
commit2e6daff704922ff447eaff19cb721635fd3f27a7 authorJoerg Thalheim <joerg@thalheim.io> dateFri 3 Nov 2017, 08:36 (9 years ago) parent19d67e1
1 file changed+2−2
nixos/modules/services/networking/unbound.nix+2−2
nixos/modules/services/networking/unbound.nix+2−2
@@ -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