From 481173c1ae8bd00f3759be25bb6014b996af9ddd Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Mon, 27 May 2019 17:58:53 +0200 Subject: Clean imports (and spaces) --- modules/apps/strongswan/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/apps/strongswan') diff --git a/modules/apps/strongswan/default.nix b/modules/apps/strongswan/default.nix index ca95464..b81fdd9 100644 --- a/modules/apps/strongswan/default.nix +++ b/modules/apps/strongswan/default.nix @@ -5,7 +5,7 @@ let inherit (lib) mkIf mkOption types filterAttrs hasPrefix mapAttrsToList concatStringsSep concatMapStringsSep; inherit (types) listOf submodule path attrsOf; - inherit (builtins) toString toFile isList isBool; + inherit (builtins) toFile isList isBool; cfg = config.nixsap.apps.strongswan; explicit = filterAttrs (n: v: n != "_module" && v != null); @@ -30,9 +30,9 @@ let )) ) (explicit sections) ); - setupSec = makeSections "config" { inherit (cfg) setup; }; - caSec = makeSections "ca" cfg.ca; - connSec = makeSections "conn" cfg.conn; + setupSec = makeSections "config" { inherit (cfg) setup; }; + caSec = makeSections "ca" cfg.ca; + connSec = makeSections "conn" cfg.conn; in toFile "ipsec.conf" '' ${setupSec} ${caSec} -- cgit v1.2.3