diff options
author | Martin Potier <martin.potier@relexsolutions.com> | 2017-10-22 10:27:26 +0300 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2017-10-22 15:36:26 +0200 |
commit | ff562459ccbf61fa47c79bad59d8d0aad38f3bb3 (patch) | |
tree | b458ea991cd1568c912362809127d42703dff471 /nixos | |
parent | ad5b75dd715100496999b3642d5cc8815f739535 (diff) |
nixos/libreswan: add missing runtime dependencies
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/networking/libreswan.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/nixos/modules/services/networking/libreswan.nix b/nixos/modules/services/networking/libreswan.nix index e7a6c565f4ff1..280158b89f61b 100644 --- a/nixos/modules/services/networking/libreswan.nix +++ b/nixos/modules/services/networking/libreswan.nix @@ -17,7 +17,7 @@ let else substring (head nonchars).ind (add 1 (sub (last nonchars).ind (head nonchars).ind)) str; indent = str: concatStrings (concatMap (s: [" " (trim [" " "\t"] s) "\n"]) (splitString "\n" str)); configText = indent (toString cfg.configSetup); - connectionText = concatStrings (mapAttrsToList (n: v: + connectionText = concatStrings (mapAttrsToList (n: v: '' conn ${n} ${indent v} @@ -27,7 +27,7 @@ let '' config setup ${configText} - + ${connectionText} ''; @@ -93,6 +93,9 @@ in "${pkgs.libreswan}" "${pkgs.iproute}" "${pkgs.procps}" + "${pkgs.nssTools}" + "${pkgs.iptables}" + "${pkgs.nettools}" ]; wants = [ "network-online.target" ]; |